mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-06-22 17:10:59 +00:00
load only en & es models (avoid to download all models)
This commit is contained in:
parent
55b05992b5
commit
7113a30a0c
2 changed files with 4 additions and 2 deletions
|
@ -4,6 +4,6 @@ from argostranslate import package
|
|||
|
||||
def test_boot_argos():
|
||||
"""Test Argos translate models initialization"""
|
||||
boot()
|
||||
boot(["en", "es"])
|
||||
|
||||
assert len(package.get_installed_packages()) > 2
|
||||
assert len(package.get_installed_packages()) >= 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue