Update html_generator.py
This commit is contained in:
parent
ffb0187e83
commit
6e1b16c2aa
1 changed files with 4 additions and 3 deletions
|
@ -142,8 +142,9 @@ def generate_chat_html(history, name1, name2, character):
|
|||
</div>
|
||||
"""
|
||||
|
||||
if not row[0]: # don't display empty user messages
|
||||
if len(row[0]) == 0: # don't display empty user messages
|
||||
continue
|
||||
|
||||
output += f"""
|
||||
<div class="message">
|
||||
<div class="circle-you">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue