Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Fix instructions bug.
Browse files- chat_application/main.py +2 -2
chat_application/main.py
CHANGED
|
@@ -385,8 +385,8 @@ def ask_bot_round(room_id):
|
|
| 385 |
with concurrent.futures.ThreadPoolExecutor() as exec:
|
| 386 |
futures = [
|
| 387 |
exec.submit(ask_bot, room_id, frobot, room_doc["FroBot_name"], FROBOT_PROMPT, FROBOT_INSTRUCT),
|
| 388 |
-
exec.submit(ask_bot, room_id, hotbot, room_doc["HotBot_name"], HOTBOT_PROMPT,
|
| 389 |
-
exec.submit(ask_bot, room_id, coolbot, room_doc["CoolBot_name"], COOLBOT_PROMPT,
|
| 390 |
]
|
| 391 |
results = [f.result() for f in futures]
|
| 392 |
|
|
|
|
| 385 |
with concurrent.futures.ThreadPoolExecutor() as exec:
|
| 386 |
futures = [
|
| 387 |
exec.submit(ask_bot, room_id, frobot, room_doc["FroBot_name"], FROBOT_PROMPT, FROBOT_INSTRUCT),
|
| 388 |
+
exec.submit(ask_bot, room_id, hotbot, room_doc["HotBot_name"], HOTBOT_PROMPT, HOTBOT_INSTRUCT),
|
| 389 |
+
exec.submit(ask_bot, room_id, coolbot, room_doc["CoolBot_name"], COOLBOT_PROMPT, COOLBOT_INSTRUCT)
|
| 390 |
]
|
| 391 |
results = [f.result() for f in futures]
|
| 392 |
|