Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def respond(message, history):
|
|
| 10 |
if history:
|
| 11 |
messages.extend(history)
|
| 12 |
|
| 13 |
-
messages.append({"role : user", "content" : message})
|
| 14 |
|
| 15 |
response = client.chat_completion(messages, max_tokens = 100)
|
| 16 |
|
|
|
|
| 10 |
if history:
|
| 11 |
messages.extend(history)
|
| 12 |
|
| 13 |
+
messages.append({"role" : "user", "content" : message})
|
| 14 |
|
| 15 |
response = client.chat_completion(messages, max_tokens = 100)
|
| 16 |
|