Tonic commited on
Commit
6b39e2d
·
1 Parent(s): ea7a2b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ def query_vectara(question, chat_history, uploaded_file=None):
98
  # Create a Gradio ChatInterface with a text input and an optional file upload input
99
  iface = gr.Interface(
100
  fn=query_vectara,
101
- inputs=[gr.Textbox(label="Input Text"), gr.File(label="Upload a file", required=False)],
102
  outputs=gr.Textbox(label="Output Text"),
103
  title="Vectara Chatbot",
104
  description="Ask me anything using the Vectara API!"
 
98
  # Create a Gradio ChatInterface with a text input and an optional file upload input
99
  iface = gr.Interface(
100
  fn=query_vectara,
101
+ inputs=[gr.Textbox(label="Input Text"), gr.File(label="Upload a file")],
102
  outputs=gr.Textbox(label="Output Text"),
103
  title="Vectara Chatbot",
104
  description="Ask me anything using the Vectara API!"