Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
small syntax fix
Browse files- chat_application/main.py +3 -3
chat_application/main.py
CHANGED
|
@@ -188,9 +188,9 @@ 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['
|
| 192 |
-
COOLBOT_PROMPT = f"The topic of this chat is:\n{topic_info['
|
| 193 |
-
HOTBOT_PROMPT = f"The topic of this chat is:\n{topic_info['
|
| 194 |
print(FROBOT_PROMPT)
|
| 195 |
# Store the initial post in the database
|
| 196 |
db_msg = {
|
|
|
|
| 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['title']}\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['title']}\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['title']}\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 = {
|