Skip to content
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

API plans? #10

Open
BaGRoS opened this issue Sep 18, 2023 · 3 comments
Open

API plans? #10

BaGRoS opened this issue Sep 18, 2023 · 3 comments

Comments

@BaGRoS
Copy link

BaGRoS commented Sep 18, 2023

Any plans to add a simple API even on a server running from Python?

BaGRoS

@ikergarcia1996
Copy link
Owner

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

@BaGRoS
Copy link
Author

BaGRoS commented Sep 18, 2023

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.

@winstxnhdw
Copy link

winstxnhdw commented Oct 15, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants