Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -202,7 +202,6 @@ async def user_ask(state, chatbot1, chatbot2, textbox, character_name, character
|
|
202 |
chatbot2.append((user_input,bot2_response))
|
203 |
|
204 |
# Keep only the last 10 messages in history
|
205 |
-
state["history"] = state["history"][-10:]
|
206 |
|
207 |
# Format the conversation in ChatML format
|
208 |
|
|
|
202 |
chatbot2.append((user_input,bot2_response))
|
203 |
|
204 |
# Keep only the last 10 messages in history
|
|
|
205 |
|
206 |
# Format the conversation in ChatML format
|
207 |
|