👍[Update] model : モデルのロード位置を変更
This commit is contained in:
4
main.py
4
main.py
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user