Shakil526563/Multi-Language-Translator-with-Audio

A simple Streamlit app that translates between Bangla, English, and Hindi with Text-to-Speech functionality.

2

stars

5

commits

Python

primary language

Aug 21, 2025

updated

README

🌐 Multi-Language Translator with Audio

A simple Streamlit app that translates between Bangla, English, and Hindi with Text-to-Speech functionality.

https://github.com/user-attachments/assets/57ba500e-f7da-4f2c-bfbb-41bad4a385e8

Features

  • Translation Support:
    • Bangla → English
    • English → Hindi
    • Hindi → English
  • Audio Generation: Text-to-Speech for translated text
  • Web Interface: Clean and user-friendly interface

� Quick Start

Local Development

  1. Install dependencies:

    pip install -r requirements.txt
    
  2. Run the app:

    streamlit run main.py
    
  3. Open your browser: Go to http://localhost:8501

Docker Deployment

  1. Build and run:

    docker build -t translator-app .
    docker run -p 8501:8501 translator-app
    
  2. Access the app: Open http://localhost:8501

📦 Dependencies

  • transformers - Translation models
  • streamlit - Web framework
  • torch - Model inference
  • sentencepiece - Tokenization
  • gtts - Text-to-Speech

� How to Use

  1. Select translation direction
  2. Enter your text
  3. Click "Translate & Generate Audio 🔊"
  4. Read the translation and listen to the audio

Contributors

Shakil526563

5 commits

Shakil526563/Multi-Language-Translator-with-Audio

A simple Streamlit app that translates between Bangla, English, and Hindi with Text-to-Speech functionality.

2

stars

5

commits

Python

primary language

Aug 21, 2025

updated

README

🌐 Multi-Language Translator with Audio

A simple Streamlit app that translates between Bangla, English, and Hindi with Text-to-Speech functionality.

https://github.com/user-attachments/assets/57ba500e-f7da-4f2c-bfbb-41bad4a385e8

Features

  • Translation Support:
    • Bangla → English
    • English → Hindi
    • Hindi → English
  • Audio Generation: Text-to-Speech for translated text
  • Web Interface: Clean and user-friendly interface

� Quick Start

Local Development

  1. Install dependencies:

    pip install -r requirements.txt
    
  2. Run the app:

    streamlit run main.py
    
  3. Open your browser: Go to http://localhost:8501

Docker Deployment

  1. Build and run:

    docker build -t translator-app .
    docker run -p 8501:8501 translator-app
    
  2. Access the app: Open http://localhost:8501

📦 Dependencies

  • transformers - Translation models
  • streamlit - Web framework
  • torch - Model inference
  • sentencepiece - Tokenization
  • gtts - Text-to-Speech

� How to Use

  1. Select translation direction
  2. Enter your text
  3. Click "Translate & Generate Audio 🔊"
  4. Read the translation and listen to the audio

Contributors

Shakil526563

5 commits

Languages

Python

100.0%