Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,6 +14,10 @@ openai.api_key = os.environ["OPENAI_API_KEY"]
|
|
| 14 |
system_message = "You are a comfort chatbot specialized in providing information on therapy, destressing activites, and student opportunities."
|
| 15 |
# Initial system message to set the behavior of the assistant
|
| 16 |
messages = [{"role": "system", "content": system_message}]
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
# Attempt to load the necessary models and provide feedback on success or failure
|
| 19 |
try:
|
|
|
|
| 14 |
system_message = "You are a comfort chatbot specialized in providing information on therapy, destressing activites, and student opportunities."
|
| 15 |
# Initial system message to set the behavior of the assistant
|
| 16 |
messages = [{"role": "system", "content": system_message}]
|
| 17 |
+
messages.append({
|
| 18 |
+
"role": "system",
|
| 19 |
+
"content": "Do not use Markdown Format"
|
| 20 |
+
})
|
| 21 |
|
| 22 |
# Attempt to load the necessary models and provide feedback on success or failure
|
| 23 |
try:
|