Possible colab aria2 status fix
This commit is contained in:
parent
06f4d9addf
commit
fef946c173
2
utils.py
2
utils.py
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue