kweyamba commited on
Commit
6e1559c
1 Parent(s): d99be14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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