Add print in console for model downloading when using Aria2

This commit is contained in:
ebolam 2022-08-19 10:19:10 -04:00
parent 10e3e64b0b
commit 081240fad1

View File

@ -177,6 +177,7 @@ class Send_to_socketio(object):
def write(self, bar):
time.sleep(0.01)
try:
print(bar, end="\r")
emit('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True)
except:
pass