o7c1 commited on
Commit
2ee47ae
·
verified ·
1 Parent(s): 20a6eaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ def poll_updates():
165
  chat_id = callback["message"]["chat"]["id"]
166
  data = callback.get("data")
167
 
168
- if data == "reset_chat":
169
  chat_histories[chat_id] = [] # Clear memory
170
  logger.info(f"Memory reset via inline button for {chat_id}")
171
 
 
165
  chat_id = callback["message"]["chat"]["id"]
166
  data = callback.get("data")
167
 
168
+ if data == "reset_chat":
169
  chat_histories[chat_id] = [] # Clear memory
170
  logger.info(f"Memory reset via inline button for {chat_id}")
171