👍️[Update] Model : モデルのダウンロード処理をスレッドで進行するように変更

This commit is contained in:
misyaguziya committed 2024-09-04 14:19:21 +09:00
1 parent 93ba4a0155
commit 9d7819b186
5 files changed
+21 -12

No files matched your search

@@ -40,6 +40,7 @@ def downloadFile(url, path, func=None):
if isinstance(func, Callable):
total_chunk += len(chunk)
func(total_chunk/file_size)
printLog(f"Downloading Whisper Model: {total_chunk/file_size:.0%}")
except Exception as e:
printLog("warning:downloadFile()", e)