[WIP/TEST] distil-wisperの処理を追加

This commit is contained in:
misyaguziya
2024-02-04 01:03:38 +09:00
parent 801d948513
commit 7aafce6e2e
6 changed files with 26 additions and 8 deletions

View File

@@ -13,9 +13,9 @@ if __name__ == "__main__":
downloadCTranslate2Weight(config.PATH_LOCAL, config.CTRANSLATE2_WEIGHT_TYPE, splash.updateDownloadProgress)
from models.transcription.transcription_whisper import downloadWhisperWeight
# whisperのダウンロードの説明に変更する必要あり
if config.USE_WHISPER_FEATURE is True:
downloadWhisperWeight(config.PATH_LOCAL, config.WHISPER_WEIGHT_TYPE, splash.updateDownloadProgress)
splash.toProgress(0)
import controller