Skip to content

gaurav2190/Translator-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translator-gpt

This is basic example of using Open AI APIs to translate the text submit into a language using prompt.

The solution is based on Flask and Jquery.

To run the application, follow the steps below

  1. Clone the repository.

  2. Create and add the private key created on OpenAI https://platform.openai.com/account/api-keys to the .env file.

  3. Run command -> pip install -r requirements.txt

  4. Run command -> flask run

This opens up an app with a textbox where you can enter text and press Enter key. On pressing enter, jquery sends a request to the API which in turn call open ai API and returns a response.

image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published