From d038963193d138c97e78a7b98ebd89467c72bf4d Mon Sep 17 00:00:00 2001
From: oobabooga <112222186+oobabooga@users.noreply.github.com>
Date: Tue, 7 Feb 2023 23:26:02 -0300
Subject: [PATCH] Rename a variable (for #59)
---
modules/html_generator.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/html_generator.py b/modules/html_generator.py
index b18ecfa..3ede366 100644
--- a/modules/html_generator.py
+++ b/modules/html_generator.py
@@ -234,10 +234,10 @@ def generate_chat_html(history, name1, name2, character):
img = f''
break
- img_you = ''
+ img_me = ''
for i in ["img_me.png", "img_me.jpg", "img_me.jpeg"]:
if Path(i).exists():
- img_you = f'
'
+ img_me = f'
'
break
for i,_row in enumerate(history[::-1]):
@@ -268,7 +268,7 @@ def generate_chat_html(history, name1, name2, character):
output += f"""