-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can i run an update #13
Comments
I'd like to know that too |
You can reinstall LibreTranslate and update the models:
It would be good to add better built in support and or docs for updating. |
Add script to update LibreTranslate code and models #13
@argosopentech Looking a way to update, I've found this script. Thanks! |
Ok, it gets trickier... I've been using that way of updating LibreTranslate without issues, but recently I've upgraded Debian (to bookworm version) and something makes LT not to work anymore. The update itself works, and the page loads, but as soon as some text is typed to be translated, systemctl status libretranslate.service says:
It seems related to the way Debian has changed the way of using "pip"; now "pipx" is recommended. I'm willing to make more tests if someone can guide me in the right direction :) |
I think this is a Numpy issue |
That's right! Adding "~/LibreTranslate/env/bin/pip install numpy==1.26.4 --force" at the end of the script fixes the issue. Thanks! |
it's possible to run an update with the script?
The text was updated successfully, but these errors were encountered: