GalaxyTab commited on
Commit
74ee77c
·
1 Parent(s): 099286f

added a print to make sure the prompts were added in correctly

Browse files
Files changed (1) hide show
  1. chat_application/main.py +4 -3
chat_application/main.py CHANGED
@@ -188,9 +188,10 @@ def send_initial_post(room_id, delay):
188
  global FROBOT_PROMPT
189
  global COOLBOT_PROMPT
190
  global HOTBOT_PROMPT
191
- FROBOT_PROMPT = f"The topic of this chat is:\n{topic_info['text']}\n"+FROBOT_PROMPT
192
- COOLBOT_PROMPT = f"The topic of this chat is:\n{topic_info['text']}\n"+COOLBOT_PROMPT
193
- HOTBOT_PROMPT = f"The topic of this chat is:\n{topic_info['text']}\n"+HOTBOT_PROMPT
 
194
  # Store the initial post in the database
195
  db_msg = {
196
  "sender": "watermelon",
 
188
  global FROBOT_PROMPT
189
  global COOLBOT_PROMPT
190
  global HOTBOT_PROMPT
191
+ FROBOT_PROMPT = f"The topic of this chat is:\n{topic_info['topic']}\nThe description of this topic is: {topic_info['text']}\n"+FROBOT_PROMPT
192
+ COOLBOT_PROMPT = f"The topic of this chat is:\n{topic_info['text']}\nThe description of this topic is: {topic_info['text']}\n"+COOLBOT_PROMPT
193
+ HOTBOT_PROMPT = f"The topic of this chat is:\n{topic_info['text']}\nThe description of this topic is: {topic_info['text']}\n"+HOTBOT_PROMPT
194
+ print(FROBOT_PROMPT)
195
  # Store the initial post in the database
196
  db_msg = {
197
  "sender": "watermelon",