👍[Update] model : モデルのロード位置を変更

This commit is contained in:
misyaguziya
2023-11-26 00:30:59 +09:00
parent e6e62cf350
commit 92ea7914b8
2 changed files with 4 additions and 33 deletions

View File

@@ -7,6 +7,10 @@ if __name__ == "__main__":
splash = SplashWindow()
splash.showSplash()
from config import config
from models.translation.utils import downloadCTranslate2Weight
downloadCTranslate2Weight(config.PATH_LOCAL, config.WEIGHT_TYPE, config.CTRANSLATE2_WIGHTS)
import controller
controller.createMainWindow()
splash.destroySplash()