Change a comment

This commit is contained in:
oobabooga 2025-06-01 13:42:56 -07:00
parent e3274bf871
commit 2d04948192

View file

@ -526,7 +526,7 @@ def generate_cai_chat_html(history, name1, name2, style, character, reset_cache=
else:
output = ""
# Profile images
# We use ?character and ?time.time() to force the browser to reset caches
img_bot = (
f'<img src="file/user_data/cache/pfp_character_thumb.png?{character}" class="pfp_character">'
if Path("user_data/cache/pfp_character_thumb.png").exists() else ''