mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 14:17:28 +00:00
UI: Fix max_updates_second not working
This commit is contained in:
parent
b46ca01340
commit
cd5c32dc19
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue