Hi! I’m trying to run libretranslate on a corporate server with no internet connection. I have manually downloaded a few language packages and placed them in $HOME/.local/share/argos-translate/packages
. When running libretranslate --local-only en,de
, LT still tries to download models, which ultimately fails. Both, the en2de
and de2en
models are placed in the share folder. How do I force LT to only use the supplied models from the share folder?
Edit: I actually managed to fix this by manually running argostranslate.package.install_from_path(*.argosmodel)
. Just placing the files in the share folder was not enough.