✨[Feature] utils : weightフォルダ名をweightsに変更する関数を一時的に追加
This commit is contained in:
4
main.py
4
main.py
@@ -8,6 +8,10 @@ if __name__ == "__main__":
|
||||
splash.showSplash()
|
||||
|
||||
from config import config
|
||||
# version 2.2.0からweightフォルダをweightsに変更する
|
||||
from utils import renameWeightFolder
|
||||
renameWeightFolder(config.PATH_LOCAL)
|
||||
|
||||
from models.translation.translation_utils import downloadCTranslate2Weight
|
||||
if config.USE_TRANSLATION_FEATURE is True:
|
||||
downloadCTranslate2Weight(config.PATH_LOCAL, config.CTRANSLATE2_WEIGHT_TYPE, splash.updateDownloadProgress)
|
||||
|
||||
Reference in New Issue
Block a user