Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ def answer_query(question):
|
|
16 |
|
17 |
iface = gr.Interface(
|
18 |
fn=answer_query,
|
19 |
-
inputs=gr.
|
20 |
-
outputs=gr.
|
21 |
)
|
22 |
iface.launch()
|
|
|
16 |
|
17 |
iface = gr.Interface(
|
18 |
fn=answer_query,
|
19 |
+
inputs=gr.Textbox(label="Enter your question:"),
|
20 |
+
outputs=gr.Textbox(label="Answer:")
|
21 |
)
|
22 |
iface.launch()
|