Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def respond(message, history, character_id, max_tokens, temperature, top_p):
|
|
| 39 |
reply = result.choices[0].message.content
|
| 40 |
history.append({"role": "user", "content": message})
|
| 41 |
history.append({"role": "assistant", "content": reply})
|
| 42 |
-
return history
|
| 43 |
|
| 44 |
|
| 45 |
# Tạo danh sách lựa chọn nhân vật
|
|
|
|
| 39 |
reply = result.choices[0].message.content
|
| 40 |
history.append({"role": "user", "content": message})
|
| 41 |
history.append({"role": "assistant", "content": reply})
|
| 42 |
+
return history, history
|
| 43 |
|
| 44 |
|
| 45 |
# Tạo danh sách lựa chọn nhân vật
|