yuxwu commited on
Commit
0fe7ef7
·
1 Parent(s): 3245395
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -243,7 +243,7 @@ Prompting multiple AI agents to play games in a language-driven environment.
243
  def step_game(all_comps: dict):
244
  yield {btn_step: gr.update(value="Running...", interactive=False),
245
  btn_restart: gr.update(interactive=False)}
246
- sleep(5) # control the rate of requests
247
 
248
  cur_state = all_comps[state]
249
 
@@ -374,5 +374,5 @@ Prompting multiple AI agents to play games in a language-driven environment.
374
 
375
  example_selector.change(update_components_from_example, set(all_components + [state]), all_components + [state])
376
 
377
- demo.queue(concurrency_count=10) # To improve concurrency
378
  demo.launch(debug=DEBUG)
 
243
  def step_game(all_comps: dict):
244
  yield {btn_step: gr.update(value="Running...", interactive=False),
245
  btn_restart: gr.update(interactive=False)}
246
+ sleep(2) # control the rate of requests
247
 
248
  cur_state = all_comps[state]
249
 
 
374
 
375
  example_selector.change(update_components_from_example, set(all_components + [state]), all_components + [state])
376
 
377
+ demo.queue(concurrency_count=32) # To improve concurrency
378
  demo.launch(debug=DEBUG)