mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Colab Fix
This commit is contained in:
1
utils.py
1
utils.py
@@ -224,6 +224,7 @@ def _download_with_aria2(aria2_config: str, total_length: int, directory: str =
|
||||
if k not in visited:
|
||||
lengths[k] = (v[1], v[1])
|
||||
koboldai_vars.downloaded_chunks = sum(v[0] for v in lengths.values())
|
||||
koboldai_vars.total_download_chunks = sum(v[1] for v in lengths.values())
|
||||
bar.n = koboldai_vars.downloaded_chunks
|
||||
bar.update()
|
||||
time.sleep(0.1)
|
||||
|
Reference in New Issue
Block a user