mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-12-18 08:27:03 +02:00
Merge pull request #400 from argosopentech/argos-translate-1-8
Upgrade to Argos Translate 1.8
This commit is contained in:
commit
ea9654277b
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,6 @@
|
|||||||
|
# Ignore db/sessions/
|
||||||
|
db/
|
||||||
|
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
|
@ -49,8 +49,7 @@ def check_and_install_models(force=False, load_only_lang_codes=None):
|
|||||||
"Downloading %s (%s) ..."
|
"Downloading %s (%s) ..."
|
||||||
% (available_package, available_package.package_version)
|
% (available_package, available_package.package_version)
|
||||||
)
|
)
|
||||||
download_path = available_package.download()
|
available_package.install()
|
||||||
package.install_from_path(download_path)
|
|
||||||
|
|
||||||
# reload installed languages
|
# reload installed languages
|
||||||
libretranslate.language.languages = translate.get_installed_languages()
|
libretranslate.language.languages = translate.get_installed_languages()
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
argostranslate==1.7.5
|
argostranslate==1.8.0
|
||||||
Flask==2.2.2
|
Flask==2.2.2
|
||||||
flask-swagger==0.2.14
|
flask-swagger==0.2.14
|
||||||
flask-swagger-ui==4.11.1
|
flask-swagger-ui==4.11.1
|
||||||
|
Loading…
Reference in New Issue
Block a user