Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/volkansah/text-to-speech-pygui-for-whisper
This is a simple Python-based GUI application that allows users to generate speech from text using the OpenAI API. The application provides a user-friendly interface for inputting text and selecting from different voices to create personalized audio output.
https://github.com/volkansah/text-to-speech-pygui-for-whisper
openai openai-api python-gui-tkinter python3 whisper whisper-ai
Last synced: 25 days ago
JSON representation
This is a simple Python-based GUI application that allows users to generate speech from text using the OpenAI API. The application provides a user-friendly interface for inputting text and selecting from different voices to create personalized audio output.
- Host: GitHub
- URL: https://github.com/volkansah/text-to-speech-pygui-for-whisper
- Owner: VolkanSah
- Created: 2024-09-01T17:07:39.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-01T18:23:58.000Z (4 months ago)
- Last Synced: 2024-11-27T03:28:48.525Z (27 days ago)
- Topics: openai, openai-api, python-gui-tkinter, python3, whisper, whisper-ai
- Language: Python
- Homepage:
- Size: 236 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Text-to-Speech (Python GUI for Whisper)
This is a simple Python-based GUI application that allows users to generate speech from text using the OpenAI API. The application provides a user-friendly interface for inputting text and selecting from different voices to create personalized audio output.
![Screenshot](img/cover_screen.png)
### Audio Demo
The demo audio is available in the `demo_speech` folder.## Features
- **Text Input**: Enter any text you wish to convert to speech.
- **Voice Selection**: Choose from multiple voices like Alloy, Echo, Fable, Onyx, Nova, and Shimmer.
- **Generate Speech**: Convert the text into speech and save it as an MP3 file.## Requirements
- Python 3.x
- `tkinter` for the GUI
- `requests` library for making API calls## Installation
1. Clone the repository:
```bash
git clone https://github.com/VolkanSah/Text-to-Speech-PyGUI-for-Whisper.git
cd Text-to-Speech-PyGUI-for-Whisper
```2. Install the required Python packages:
```bash
pip install requests
```3. Run the application:
```bash
python run.py
```## Usage
1. Enter the text you want to convert to speech.
2. Select the voice from the dropdown menu.
3. Click "Generate Speech" to create the speech. Once finished, you can save the speech file wherever you want.## License
This project is open source and available under the [MIT License](LICENSE).
## Disclaimer
This application uses the OpenAI API. Ensure you have a valid API key and are aware of OpenAI's usage policies and pricing.
### Credits
**S. Volkan Kücükbudak**