Colab Debug

This commit is contained in:
ebolam
2022-10-24 19:16:03 -04:00
parent 46ac4ec009
commit db2fbbb17a
3 changed files with 6 additions and 2 deletions

View File

@@ -190,7 +190,7 @@ def _download_with_aria2(aria2_config: str, total_length: int, directory: str =
try:
print('\r' + bar, end='')
try:
emit('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True, room="UI_1")
socketio.emit('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True, room="UI_1")
except:
pass
eventlet.sleep(seconds=0)