Skip to content

Yer1k/web_flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translator App Flask via Azure AI

This is a simple translator app using Flask and Azure AI. The app is able to translate text from the language you have inputted to another.

demo

Prerequisites

  • Python 3.6 or higher
  • Azure subscription
  • Azure Translator Text API key

Installation

  1. Clone the repository
  2. Install the required packages
pip install -r requirements.txt
  1. Set the environment variables
export KEY=<your-azure-text-translator-api-key>
export ENDPOINT=<your-azure-text-translator-endpoint>
export LOCATION=<your-azure-text-translator-location>

For example: keys

  1. Run the app
flask run
  1. Open your browser and go to http://127.0.0.1:5000

  2. Enter the text you want to translate and select the target languages. The language of the text you have entered should be auto-detected. Click the Translate button to see the translated text.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published