Tonic commited on
Commit
2d46b21
·
1 Parent(s): 8b143a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,11 +56,11 @@ def query_vectara(query_str):
56
  # Create a Gradio interface
57
  iface = gr.Interface(
58
  fn=query_vectara,
59
- inputs=gr.inputs.Textbox(label="Ask a question:"),
60
  outputs=gr.outputs.JSON(),
61
  live=True,
62
  capture_session=True
63
  )
64
 
65
  # Run the Gradio interface
66
- iface.launch()
 
56
  # Create a Gradio interface
57
  iface = gr.Interface(
58
  fn=query_vectara,
59
+ inputs=gr.inputs.TextArea(label="Ask a question:"),
60
  outputs=gr.outputs.JSON(),
61
  live=True,
62
  capture_session=True
63
  )
64
 
65
  # Run the Gradio interface
66
+ iface.launch()