Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,10 +33,10 @@ def ask_question(question, context):
|
|
| 33 |
iface = gr.Interface(
|
| 34 |
fn=ask_question,
|
| 35 |
inputs=[
|
| 36 |
-
gr.Textbox("Enter your question", type="text"
|
| 37 |
-
gr.Textbox("Enter context", type="text"
|
| 38 |
-
"Detect Context", gr.Button(detect_context_from_question
|
| 39 |
-
"Ask", gr.Button("Ask"
|
| 40 |
],
|
| 41 |
outputs=gr.Textbox("Output", type="text"),
|
| 42 |
live=True
|
|
|
|
| 33 |
iface = gr.Interface(
|
| 34 |
fn=ask_question,
|
| 35 |
inputs=[
|
| 36 |
+
gr.Textbox("Enter your question", type="text"),
|
| 37 |
+
gr.Textbox("Enter context", type="text"),
|
| 38 |
+
"Detect Context", gr.Button(detect_context_from_question),
|
| 39 |
+
"Ask", gr.Button("Ask")
|
| 40 |
],
|
| 41 |
outputs=gr.Textbox("Output", type="text"),
|
| 42 |
live=True
|