Skip to content

shubhamshnd/gtts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Text-to-Speech Converter Web Application

This project is a simple Text-to-Speech (TTS) converter web application built using Flask. The application allows users to input text, convert it into speech, and download the resulting audio file. The front-end is created using HTML, CSS, and jQuery.

Installation

To get this project up and running on your local machine, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/shubhamshnd/gtts
    cd your-repository
  2. Install Dependencies:

    pip install -r requirements.txt
  3. Run the Flask Application:

    python app.py

Usage

  1. Open your web browser and go to http://127.0.0.1:5000/.
  2. Enter the text you want to convert into speech in the text area.
  3. Optionally, provide a filename for the audio file.
  4. Click on the "Convert to Speech" button to start the conversion.
  5. Download the generated MP3 file or listen to it directly on the webpage.

Files

  • app.py: The main Flask application file.
  • tts.py: Headless the text-to-speech conversion logic.
  • templates/index.html: The front-end interface for the application.

Connect with Me

Feel free to connect with me on LinkedIn.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors