Fix for UI2 download status bar

This commit is contained in:
ebolam
2022-09-19 09:21:08 -04:00
parent ca3db6a05c
commit f5ce00622b
2 changed files with 3 additions and 2 deletions

View File

@@ -1674,7 +1674,7 @@ def patch_transformers_download():
if bar != "":
try:
print(bar, end="")
print(bar, end="\n")
emit('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True, room="UI_1")
eventlet.sleep(seconds=0)
except: