From ec90b7606456a72825b4e1eb3b7e6237d3b7dbf7 Mon Sep 17 00:00:00 2001 From: ebolam Date: Fri, 19 Aug 2022 10:19:10 -0400 Subject: [PATCH] Add print in console for model downloading when using Aria2 --- utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils.py b/utils.py index 9a35c623..49ab9987 100644 --- a/utils.py +++ b/utils.py @@ -176,7 +176,9 @@ from flask_socketio import emit class Send_to_socketio(object): def write(self, bar): time.sleep(0.01) + print("got bar data") try: + print(bar, end="\r") emit('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True) except: pass