The Text to Speech Web App is a powerful and user-friendly application designed to convert text into natural-sounding speech. This web-based tool utilizes cutting-edge technologies, including the GTTS (Google Text-to-Speech) library, to provide an efficient and seamless text-to-speech conversion experience.
- Speech Generation: Instantly convert typed or pasted text into high-quality speech output.
- GTTS Integration: Leverages the GTTS library to harness the power of Google's advanced text-to-speech engine.
- Responsive Design: Ensures a consistent and user-friendly experience across various devices.
- Easy-to-Use Interface: Intuitive interface for straightforward text input and audio playback.
- Flask: Backend framework for handling web requests and serving the application.
- GTTS (Google Text-to-Speech): Library for interfacing with Google Translate's text-to-speech API.
- HTML, CSS, JavaScript: Frontend technologies to create an interactive and visually appealing user interface.
- Text Input: Users can enter or paste the desired text into the input area provided on the web app.
- Speech Generation: Upon clicking the "Predict" button, the text is sent to the server.
- GTTS Conversion: The server uses the GTTS library to convert the text into speech.
- Audio Playback: The generated speech is played back to the user through an embedded audio player on the web page.
- Python 3.x
- Pip (Python package installer)
-
Clone the repository:
git clone https://github.com/your-github-username/text-to-speech-web-app.git
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python app.py
-
Open in your web browser: http://localhost:5000
- static/: Contains static assets such as CSS and JavaScript files.
- templates/: Includes HTML templates for the web app.
- textToSPeech.py: Python script for text-to-speech conversion.
- app.py: Flask application file.
- requirements.txt: List of dependencies.
This project is licensed under the MIT License - see the LICENSE file for details.
- Special thanks to OpenAI for inspiration and technology.
- Icons made by Freepik from www.flaticon.com.