Dooratre commited on
Commit
3bc27c4
·
verified ·
1 Parent(s): 03416f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -227,7 +227,7 @@ def handle_message():
227
  # If there's an admin message, save it to the GitHub JSON file
228
  if admin_message:
229
  print(f"Admin message detected: {admin_message}")
230
- save_admin_message(page_id, admin_message, user_profile_img)
231
  # Use the cleaned response (without admin tags) for the user
232
  ai_response = cleaned_response
233
 
 
227
  # If there's an admin message, save it to the GitHub JSON file
228
  if admin_message:
229
  print(f"Admin message detected: {admin_message}")
230
+ save_admin_message(page_id, admin_message, sender_id, user_full_name)
231
  # Use the cleaned response (without admin tags) for the user
232
  ai_response = cleaned_response
233