Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def chat_with_ai(message, history=[]):
|
|
| 10 |
"role": "system",
|
| 11 |
"content": "You are a friendly chatbot who always responds in the style of a pirate",
|
| 12 |
},
|
| 13 |
-
{"role": "user", "content":
|
| 14 |
]
|
| 15 |
|
| 16 |
response = chatbot(
|
|
|
|
| 10 |
"role": "system",
|
| 11 |
"content": "You are a friendly chatbot who always responds in the style of a pirate",
|
| 12 |
},
|
| 13 |
+
{"role": "user", "content": message},
|
| 14 |
]
|
| 15 |
|
| 16 |
response = chatbot(
|