Build an AI web app by using Python and Flask


Use Python, Flask, and Azure AI services to build a web app that incorporates AI

Learning objectives

In this module, you'll build a website using Flask and Cognitive Services to translate text.

  • Learn how to set up a Flask development environment
  • Learn how to use Flask to build a form
  • Learn how to use the Translator service to translate text


  • An Azure account. Learn how to create a free account in Create an Azure account.
  • Python 3.6 or later and VS code installed on your computer. Follow the steps in the Install Python 3 module. At the top of the article, choose the instructions for your configuration: Windows, Linux, or macOS.
  • Visual Studio Code