mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Update html_generator.py
This commit is contained in:
parent
ffb0187e83
commit
6e1b16c2aa
@ -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…
Reference in New Issue
Block a user