mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 22:27:29 +00:00
UI: Only add a blank space to streaming messages in instruct mode
This commit is contained in:
parent
71fa046c17
commit
e3bba510d4
3 changed files with 3 additions and 3 deletions
|
|
@ -347,7 +347,7 @@ remove_button = f'<button class="footer-button footer-remove-button" title="Remo
|
|||
|
||||
|
||||
def generate_instruct_html(history):
|
||||
output = f'<style>{instruct_css}</style><div class="chat" id="chat"><div class="messages">'
|
||||
output = f'<style>{instruct_css}</style><div class="chat" id="chat" data-mode="instruct"><div class="messages">'
|
||||
|
||||
for i in range(len(history['visible'])):
|
||||
row_visible = history['visible'][i]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue