Skip to content

A Flask-based web application that converts text into speech in multiple languages using Google Text-to-Speech (gTTS). The app provides a simple interface for users to input text, select a language, and generate audio output.

License

Notifications You must be signed in to change notification settings

Ayushpremrocks/Multi-language-Text-To-Speech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-language Text-to-Speech Converter

A Flask-based web application that converts text into speech in multiple languages using Google Text-to-Speech (gTTS). The app provides a simple interface for users to input text, select a language, and generate audio output.

Screenshot of the model

Screenshot of the model


Features

  • Supports text-to-speech conversion for multiple languages (e.g., English, Hindi).
  • Clean and responsive user interface.
  • Instant audio playback after conversion.
  • Easily extensible to add more languages.

Technologies Used

  • Backend: Flask
  • Frontend: HTML, CSS, and JavaScript
  • Text-to-Speech Engine: gTTS (Google Text-to-Speech)

Setup Instructions

Prerequisites

Ensure you have Python 3.8+ and pip installed on your system.

Steps to Run Locally

  1. Clone the repository:
    git clone https://github.com/Ayushpremrocks/Multi-language-Text-To-Speech
    
  2. Create a Virtual Environment (Optional but Recommended):
    python -m venv venv
    source venv/bin/activate    # On macOS/Linux
    venv\Scripts\activate       # On Windows
    
    
  3. Install dependencies:
    pip install -r requirements.txt
    
  4. Run the Flask app:
    python app.py
    
  5. Open your browser and go to:
    http://127.0.0.1:5000

How to Check Flask Installation and Version

  1. Verify Flask Installation: Run the following command in your terminal
    python -m flask --version
    If Flask is installed, you will see output similar to this:
    Flask 2.3.3
    Python 3.x.x
    
  2. If Flask is Not Installed: Install Flask using:
    pip install Flask

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Flask-based web application that converts text into speech in multiple languages using Google Text-to-Speech (gTTS). The app provides a simple interface for users to input text, select a language, and generate audio output.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published