mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-14 22:13:02 +00:00
Use package.version for model version comparison
Change `--install-models` to `--force-update-models`
This commit is contained in:
parent
78713d8017
commit
94f63cedda
5 changed files with 6 additions and 4 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue