Dongxu Li commited on
Commit
6048f95
1 Parent(s): b16b08b

queue for all.

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -207,7 +207,6 @@ with gr.Blocks(
207
  rep_penalty,
208
  ],
209
  [caption_output],
210
- queue=True,
211
  )
212
 
213
  gr.Markdown("""Trying prompting your input for chat; e.g. example prompt for QA, \"Question: {} Answer:\"""")
@@ -234,7 +233,6 @@ with gr.Blocks(
234
  state,
235
  ],
236
  [chatbot, state],
237
- queue=True,
238
  )
239
 
240
  with gr.Row():
@@ -274,4 +272,4 @@ with gr.Blocks(
274
  )
275
 
276
  iface.queue(concurrency_count=1, api_open=False, max_size=10)
277
- iface.launch(enable_queue=False)
 
207
  rep_penalty,
208
  ],
209
  [caption_output],
 
210
  )
211
 
212
  gr.Markdown("""Trying prompting your input for chat; e.g. example prompt for QA, \"Question: {} Answer:\"""")
 
233
  state,
234
  ],
235
  [chatbot, state],
 
236
  )
237
 
238
  with gr.Row():
 
272
  )
273
 
274
  iface.queue(concurrency_count=1, api_open=False, max_size=10)
275
+ iface.launch(enable_queue=True)