diff --git a/modules/html_generator.py b/modules/html_generator.py index e5c0bb5..448c20c 100644 --- a/modules/html_generator.py +++ b/modules/html_generator.py @@ -155,7 +155,7 @@ def generate_cai_chat_html(history, name1, name2, reset_cache=False): output = f'
' # The time.time() is to prevent the brower from caching the image - suffix = f"?{time.time()}" if reset_cache else '' + suffix = f"?{time.time()}" if reset_cache else f"?{name2}" img_bot = f'' if Path("cache/pfp_character.png").exists() else '' img_me = f'' if Path("cache/pfp_me.png").exists() else ''