Possible colab aria2 status fix

This commit is contained in:
Henk 2022-09-21 19:48:17 +02:00
parent 06f4d9addf
commit fef946c173
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ def _download_with_aria2(aria2_config: str, total_length: int, directory: str =
if bar != "":
try:
print(bar, end="\r")
print('\r' + bar, end='')
try:
emit('from_server', {'cmd': 'model_load_status', 'data': bar.replace(" ", " ")}, broadcast=True)
except: