mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-06-07 14:17:09 -04:00
Add a comment
This commit is contained in:
parent
18c0eb7e38
commit
683e02f33d
1 changed files with 1 additions and 1 deletions
|
@ -827,7 +827,7 @@ def generate_chat_reply_wrapper(text, state, regenerate=False, _continue=False):
|
|||
for i, history in enumerate(generate_chat_reply(text, state, regenerate, _continue, loading_message=True, for_ui=True)):
|
||||
yield chat_html_wrapper(history, state['name1'], state['name2'], state['mode'], state['chat_style'], state['character_menu'], last_message_only=(i > 0)), history
|
||||
if i == 0:
|
||||
time.sleep(0.05)
|
||||
time.sleep(0.05) # We need this to make sure the first update goes through
|
||||
|
||||
current_time = time.monotonic()
|
||||
# Save on first iteration or if save_interval seconds have passed
|
||||
|
|
Loading…
Add table
Reference in a new issue