[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

@@ -925,6 +925,12 @@ def createMainWindow(splash):
# set Translation Engine
updateTranslationEngineAndEngineList()
# set Transcription Engine
if config.USE_WHISPER_FEATURE is True:
config.SELECTED_TRANSCRIPTION_ENGINE = "Whisper"
else:
config.SELECTED_TRANSCRIPTION_ENGINE = "Google"
# set word filter
model.addKeywords()