Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
final touches
Browse files- chat_application/main.py +5 -3
chat_application/main.py
CHANGED
|
@@ -188,10 +188,12 @@ 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:
|
| 192 |
-
COOLBOT_PROMPT = f"The topic of this chat is:
|
| 193 |
-
HOTBOT_PROMPT = f"The topic of this chat is:
|
| 194 |
print(FROBOT_PROMPT)
|
|
|
|
|
|
|
| 195 |
# Store the initial post in the database
|
| 196 |
db_msg = {
|
| 197 |
"sender": "watermelon",
|
|
|
|
| 188 |
global FROBOT_PROMPT
|
| 189 |
global COOLBOT_PROMPT
|
| 190 |
global HOTBOT_PROMPT
|
| 191 |
+
FROBOT_PROMPT = f"The topic of this chat is: {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: {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: {topic_info['title']}\nThe description of this topic is: {topic_info['text']}\n"+HOTBOT_PROMPT
|
| 194 |
print(FROBOT_PROMPT)
|
| 195 |
+
print(HOTBOT_PROMPT)
|
| 196 |
+
print(COOLBOT_PROMPT)
|
| 197 |
# Store the initial post in the database
|
| 198 |
db_msg = {
|
| 199 |
"sender": "watermelon",
|