Update html_generator.py

This commit is contained in:
oobabooga 2023-03-24 17:18:27 -03:00 committed by GitHub
parent ffb0187e83
commit 6e1b16c2aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,8 +142,9 @@ def generate_chat_html(history, name1, name2, character):
</div> </div>
""" """
if not row[0]: # don't display empty user messages if len(row[0]) == 0: # don't display empty user messages
continue continue
output += f""" output += f"""
<div class="message"> <div class="message">
<div class="circle-you"> <div class="circle-you">