From 513f59791ad9781d13b0f8712b94ad8e113e6bf5 Mon Sep 17 00:00:00 2001 From: ebolam Date: Fri, 19 Aug 2022 12:10:29 -0400 Subject: [PATCH] Debug --- utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils.py b/utils.py index c8d564ff..493ec382 100644 --- a/utils.py +++ b/utils.py @@ -178,10 +178,9 @@ class Send_to_socketio(object): time.sleep(0.01) print("got bar data") try: - print(bar, end="\r") + print("Bar data: {}".format(bar)) emit('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True) except: - raise pass def aria2_hook(pretrained_model_name_or_path: str, force_download=False, cache_dir=None, proxies=None, resume_download=False, local_files_only=False, use_auth_token=None, user_agent=None, revision=None, mirror=None, **kwargs):