Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def chat_with_poe(history, message):
|
|
| 42 |
try:
|
| 43 |
# Send the messages to Poe and get the response from the chatbot
|
| 44 |
response = client.chat.completions.create(
|
| 45 |
-
model="
|
| 46 |
messages=messages # All past and current messages
|
| 47 |
)
|
| 48 |
# Extract the bot’s reply from the response
|
|
|
|
| 42 |
try:
|
| 43 |
# Send the messages to Poe and get the response from the chatbot
|
| 44 |
response = client.chat.completions.create(
|
| 45 |
+
model="My_Tutor_Shq", # The name of your bot on Poe
|
| 46 |
messages=messages # All past and current messages
|
| 47 |
)
|
| 48 |
# Extract the bot’s reply from the response
|