mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-04 12:24:52 +00:00
download the transliteration packages of polyglot during boot
This commit is contained in:
parent
25fb3b3c21
commit
e0693d697e
2 changed files with 29 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from app.init import check_and_install_models
|
||||
from app.init import check_and_install_models, check_and_install_transliteration
|
||||
|
||||
if __name__ == "__main__":
|
||||
check_and_install_models(force=True)
|
||||
check_and_install_transliteration(force=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue