Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ iface = gr.Interface(
|
|
| 38 |
inputs=[
|
| 39 |
gr.Textbox(type="text", placeholder="Enter your question"),
|
| 40 |
gr.Textbox(type="text", placeholder="Enter context"),
|
| 41 |
-
gr.Button(detect_context_from_question
|
| 42 |
gr.Button("Ask")
|
| 43 |
],
|
| 44 |
outputs=gr.Textbox(type="text", placeholder="Answer"), # Single Textbox for the answer
|
|
|
|
| 38 |
inputs=[
|
| 39 |
gr.Textbox(type="text", placeholder="Enter your question"),
|
| 40 |
gr.Textbox(type="text", placeholder="Enter context"),
|
| 41 |
+
gr.Button(detect_context_from_question),
|
| 42 |
gr.Button("Ask")
|
| 43 |
],
|
| 44 |
outputs=gr.Textbox(type="text", placeholder="Answer"), # Single Textbox for the answer
|