Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,5 +23,5 @@ def QA_function(context, question):
|
|
23 |
|
24 |
return answer
|
25 |
|
26 |
-
|
27 |
-
|
|
|
23 |
|
24 |
return answer
|
25 |
|
26 |
+
gradio_ui = gr.Interface(fn = QA_function, [gr.inputs.Textbox(lines=7, label="Context"), gr.inputs.Textbox(label="Question")], gr.outputs.Textbox(label="Answer"))
|
27 |
+
gradio_ui.launch()
|