Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"
|
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!"
|