mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-21 23:41:01 +00:00
Fixed un-modified reference to app from a23a9fbd75
This commit is contained in:
parent
c17832a37c
commit
cca7dd5eac
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def check_and_install_models(force=False, load_only_lang_codes=None):
|
||||||
package.install_from_path(download_path)
|
package.install_from_path(download_path)
|
||||||
|
|
||||||
# reload installed languages
|
# reload installed languages
|
||||||
app.language.languages = translate.get_installed_languages()
|
libretranslate.language.languages = translate.get_installed_languages()
|
||||||
print(
|
print(
|
||||||
"Loaded support for %s languages (%s models total)!"
|
"Loaded support for %s languages (%s models total)!"
|
||||||
% (len(translate.get_installed_languages()), len(available_packages))
|
% (len(translate.get_installed_languages()), len(available_packages))
|
||||||
|
|
Loading…
Reference in a new issue