Spaces:
Runtime error
Runtime error
Update helper.py
Browse files
helper.py
CHANGED
@@ -81,7 +81,7 @@ def show_each_message(message, role, area=None):
|
|
81 |
else:
|
82 |
icon = gpt_svg
|
83 |
name = gpt_name
|
84 |
-
background_color = '#
|
85 |
area[0](f"\n<div class='avatar'>{icon}<h2>{name}:</h2></div>", unsafe_allow_html=True)
|
86 |
area[1](f"""<div class='content-div' style='background-color: {background_color};'>\n\n{message}""",
|
87 |
unsafe_allow_html=True)
|
|
|
81 |
else:
|
82 |
icon = gpt_svg
|
83 |
name = gpt_name
|
84 |
+
background_color = '#fafbfc'
|
85 |
area[0](f"\n<div class='avatar'>{icon}<h2>{name}:</h2></div>", unsafe_allow_html=True)
|
86 |
area[1](f"""<div class='content-div' style='background-color: {background_color};'>\n\n{message}""",
|
87 |
unsafe_allow_html=True)
|