This Streamlit app allows you to convert text to audio files using the Microsoft Edge's online text-to-speech service.
Access to most of the Microsoft Edge's TTS API features, including
- voice and language selection
- voice tuning (speaking rate & volume)
- audio formats (MP3 [.mp3])
- audio captions
You can play the audio from the converted text directly in the browser or download the audio file to your local machine.
Clone this repository
git clone https://github.com/shangfr/StreamlitTTS.git
Install the Python requirements using the requirements.txt file. This will install Streamlit, the edge-tts Python package, and other dependencies.
pip install -r requirements.txt
streamlit run app.py
This command will start the streamlit app, will automatically open a browser window, and navigate to http://localhost:8501/