[WIP/TEST] Model : モデルの保存位置の変更
- speakerの文字起こし処理のバグを修正
This commit is contained in:
5
main.py
5
main.py
@@ -8,14 +8,13 @@ if __name__ == "__main__":
|
||||
splash.showSplash()
|
||||
|
||||
from config import config
|
||||
from models.translation.utils import downloadCTranslate2Weight
|
||||
from models.translation.translation_utils import downloadCTranslate2Weight
|
||||
if config.USE_TRANSLATION_FEATURE is True:
|
||||
downloadCTranslate2Weight(config.PATH_LOCAL, config.CTRANSLATE2_WEIGHT_TYPE, splash.updateDownloadProgress)
|
||||
splash.toProgress(0)
|
||||
|
||||
from models.transcription.transcription_whisper import downloadWhisperWeight
|
||||
# whisperのダウンロードの説明に変更する必要あり
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user