👍️[Update] Main/Controller : CTranslate2/Whisper model weight download のDownload済みの場合の処理を追加
This commit is contained in:
@@ -65,6 +65,7 @@ def downloadWhisperWeight(root, weight_type, callbackFunc):
|
||||
path = os_path.join(root, "weights", "whisper", weight_type)
|
||||
os_makedirs(path, exist_ok=True)
|
||||
if checkWhisperWeight(root, weight_type) is True:
|
||||
callbackFunc(1)
|
||||
return
|
||||
|
||||
for filename in _FILENAMES:
|
||||
|
||||
Reference in New Issue
Block a user