SuhasGholkar commited on
Commit
57e9fb0
·
verified ·
1 Parent(s): 0ecb0f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5505,11 +5505,11 @@ if auth["role"] != "admin":
5505
  # Clear caches so the just-rated chat disappears immediately
5506
  try:
5507
  get_recent_chats_for_user.clear()
5508
- fb_logger.debug(\"[rate-tab] cache cleared for get_recent_chats_for_user\")
5509
  except Exception:
5510
  try:
5511
  st.cache_data.clear()
5512
- fb_logger.debug(\"[rate-tab] global cache cleared\")
5513
  except Exception:
5514
  pass
5515
  st.rerun()
 
5505
  # Clear caches so the just-rated chat disappears immediately
5506
  try:
5507
  get_recent_chats_for_user.clear()
5508
+ fb_logger.debug("[rate-tab] cache cleared for get_recent_chats_for_user")
5509
  except Exception:
5510
  try:
5511
  st.cache_data.clear()
5512
+ fb_logger.debug("[rate-tab] global cache cleared")
5513
  except Exception:
5514
  pass
5515
  st.rerun()