1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-24 10:06:43 +02:00

some more output when installing transliteration models

This commit is contained in:
mammo0 2021-03-11 14:39:28 +01:00
parent 7967c1b2c4
commit 44da802a7f

View File

@ -47,6 +47,8 @@ def check_and_install_transliteration(force=False):
# install the needed transliteration packages
if install_needed:
print(f"Installing transliteration models for the following languages: {', '.join(install_needed)}")
from polyglot.downloader import Downloader
downloader = Downloader()