Open BaGRoS opened 1 year ago
Hi!
The goal of this repository is to create a very simple script so people can translate data for their research without losing any time writing their own script. However, I could consider writing a Gradio demo that runs a server if it can be useful for people. It should be very easy to reformat the code into a gradio server.
Gradio demos can be run as an interface and you can also make API calls to the server. Is this the idea you had in mind? https://www.gradio.app/demos
I would like to use this to translate a wordpress blog into multiple languages. I have two ways to go. The first is to write everything in Python, a longer solution. The second is to use a translation plugin that supports custom API calls so that I can just configure it to a local translator.
Hey @BaGRoS, if you are okay with only calling the NLLB model, you can check out nllb-api. It performs ~1000x faster than Easy-Translate's Streamlit API demo.
Any plans to add a simple API even on a server running from Python?
BaGRoS