Text2Speech is a simple Python application that converts text from a file into spoken audio using the Google Text-to-Speech (gTTS) library. This project allows users to easily generate audio files from text documents, making it a useful tool for creating audio content from written material.
- Text File Input: Users can provide a text file containing the content they wish to convert to speech.
- Audio Output: The application generates an audio file in MP3 format, which can be played on any device that supports audio playback.
- Language Support: Supports various languages through the gTTS library, with English as the default language.
To set up the project locally, clone the repository and install the required packages:
git clone [email protected]:haroon423/Text2Speech.git
cd Text2Speech
pip install gtts