Tonic commited on
Commit
9ebe44b
·
verified ·
1 Parent(s): 2558039

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ def gradio_interface(input_text):
83
 
84
  iface = gr.Interface(
85
  fn=gradio_interface,
86
- inputs=gr.inputs.Textbox(lines=2, placeholder="Enter your query here..."),
87
  outputs=[gr.outputs.Textbox(label="Output"), gr.outputs.Textbox(label="Latency")],
88
  title=title,
89
  description=description,
 
83
 
84
  iface = gr.Interface(
85
  fn=gradio_interface,
86
+ inputs=gr.Code(lines=2, language="python", value="Add functions and your querry here..."),
87
  outputs=[gr.outputs.Textbox(label="Output"), gr.outputs.Textbox(label="Latency")],
88
  title=title,
89
  description=description,