Debug
This commit is contained in:
parent
67fe4dc979
commit
513f59791a
3
utils.py
3
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):
|
||||
|
|
Loading…
Reference in New Issue