Spaces:
Paused
Paused
Update app.py
Browse files
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(
|
| 5509 |
except Exception:
|
| 5510 |
try:
|
| 5511 |
st.cache_data.clear()
|
| 5512 |
-
fb_logger.debug(
|
| 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()
|