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