bethanie05 commited on
Commit
3e8e1da
·
verified ·
1 Parent(s): 1e4868c

Fix instructions bug.

Browse files
Files changed (1) hide show
  1. 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, FROBOT_INSTRUCT),
389
- exec.submit(ask_bot, room_id, coolbot, room_doc["CoolBot_name"], COOLBOT_PROMPT, FROBOT_INSTRUCT)
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