Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,7 @@ You Do:
|
|
| 37 |
- Ask Follow-Up Questions:
|
| 38 |
- Regularly check in on the user's well-being. For example: "How are you feeling now? Have there been any changes in your symptoms?"
|
| 39 |
"""
|
|
|
|
| 40 |
for val in history:
|
| 41 |
if val[0]:
|
| 42 |
messages.append({"role": "user", "content": val[0]})
|
|
|
|
| 37 |
- Ask Follow-Up Questions:
|
| 38 |
- Regularly check in on the user's well-being. For example: "How are you feeling now? Have there been any changes in your symptoms?"
|
| 39 |
"""
|
| 40 |
+
messages = [{"role": "system", "content": system_message}]
|
| 41 |
for val in history:
|
| 42 |
if val[0]:
|
| 43 |
messages.append({"role": "user", "content": val[0]})
|