1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2025-11-29 22:08:02 +02:00

Use package.version for model version comparison

Change `--install-models` to `--force-update-models`
This commit is contained in:
Robert George
2023-09-29 15:31:33 -07:00
parent 78713d8017
commit 94f63cedda
5 changed files with 6 additions and 4 deletions

View File

@@ -161,7 +161,7 @@ def get_args():
"--update-models", default=DEFARGS['UPDATE_MODELS'], action="store_true", help="Update language models at startup"
)
parser.add_argument(
"--install-models", default=DEFARGS['INSTALL_MODELS'], action="store_true", help="Install language models at startup"
"--force-update-models", default=DEFARGS['FORCE_UPDATE_MODELS'], action="store_true", help="Install/Reinstall language models at startup"
)
parser.add_argument(
"--metrics",