mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-14 22:13:02 +00:00
Added option to update models rather than reinstall
This commit is contained in:
parent
81ba2b81e9
commit
78713d8017
5 changed files with 40 additions and 12 deletions
|
@ -160,6 +160,9 @@ def get_args():
|
|||
parser.add_argument(
|
||||
"--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"
|
||||
)
|
||||
parser.add_argument(
|
||||
"--metrics",
|
||||
default=DEFARGS['METRICS'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue