mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-04 20:30:39 +00:00
updated argos to 1.1.2, fix argos translate init and templates.html render
This commit is contained in:
parent
90d743796b
commit
a0760eb23f
4 changed files with 4 additions and 4 deletions
|
@ -7,7 +7,7 @@ def boot():
|
|||
check_and_install_models()
|
||||
|
||||
def check_and_install_models(force=False):
|
||||
if len(package.get_installed_packages()) == 0 or force:
|
||||
if len(package.get_installed_packages()) < 2 or force:
|
||||
# Update package definitions from remote
|
||||
print("Updating language models")
|
||||
package.update_package_index()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue