Streamlit Translator

made-with-python
Python
streamlit
terminal
vscode

  • Streamlit Translator is a simple translator app to detect and translate between languages.
  • Streamlit Translator gets text and language to translate as inputs from user.
  • Then translate the text and outputs the translated text as output.
  • You can download the translated text also in audio format.

Installation :-

Open Anaconda prompt and create new environment ?

conda create -n your_env_name python = (any_version_number)

Then Activate the newly created environment ?

conda activate your_env_name

To install all requirement packages for the app ?

pip install -r requirements.txt

Then, Run the app ?

streamlit run translator.py

Packages Used :-

import streamlit as st
from PIL import Image
from datetime import date
from gtts import gTTS, lang
from googletrans import Translator

Demo GIF Image ?:-

output_image

GitHub

View Github