[WIP/TEST] Config : USE_RECOGNIZER_FEATURE -> USE_WHISPER_FEATURE

This commit is contained in:
misyaguziya
2024-02-01 13:40:24 +09:00
parent 10b8d115a1
commit e4c685d382
3 changed files with 10 additions and 15 deletions

View File

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