mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-30 20:34:32 +01:00
UI: Fix max_updates_second not working
This commit is contained in:
parent
b46ca01340
commit
cd5c32dc19
|
|
@ -100,8 +100,6 @@ def _generate_reply(question, state, stopping_strings=None, is_chat=False, escap
|
|||
last_update = cur_time
|
||||
yield reply
|
||||
|
||||
yield reply
|
||||
|
||||
if stop_found or (state['max_tokens_second'] > 0 and shared.stop_everything):
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue