Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def query_vectara(query_str):
|
|
56 |
# Create a Gradio interface
|
57 |
iface = gr.Interface(
|
58 |
fn=query_vectara,
|
59 |
-
inputs=gr.inputs.Textbox(
|
60 |
outputs=gr.outputs.JSON(),
|
61 |
live=True,
|
62 |
capture_session=True
|
|
|
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
|