Spaces:
Runtime error
Runtime error
Update
Browse files
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(
|
247 |
|
248 |
cur_state = all_comps[state]
|
249 |
|
|
|
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 |
|