Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ with gr.Blocks() as demo:
|
|
39 |
inp = gr.Textbox(placeholder="Ask question here?")
|
40 |
out = gr.Textbox()
|
41 |
btn = gr.Button("Run")
|
42 |
-
btn.click(fn=question_answering, inputs=inp, outputs=out, api_name="search")
|
43 |
|
44 |
demo.launch()
|
45 |
|
|
|
39 |
inp = gr.Textbox(placeholder="Ask question here?")
|
40 |
out = gr.Textbox()
|
41 |
btn = gr.Button("Run")
|
42 |
+
btn.click(fn=question_answering, inputs=inp, outputs=out, api_name="search", queue=True)
|
43 |
|
44 |
demo.launch()
|
45 |
|