Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nasirovx/dj_text_to_speech
This Django project allows converting text to audio files and saving them.Conversion of text to speech in multiple languages.
https://github.com/nasirovx/dj_text_to_speech
django drf gtts python text-to-speech
Last synced: 2 days ago
JSON representation
This Django project allows converting text to audio files and saving them.Conversion of text to speech in multiple languages.
- Host: GitHub
- URL: https://github.com/nasirovx/dj_text_to_speech
- Owner: nasirovx
- License: mit
- Created: 2024-07-25T17:29:20.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-06T19:36:17.000Z (4 months ago)
- Last Synced: 2024-11-06T01:20:56.202Z (about 2 months ago)
- Topics: django, drf, gtts, python, text-to-speech
- Language: Python
- Homepage: https://my-bio-hstf.vercel.app/
- Size: 95.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Django Project for Text-to-Speech
This Django project allows converting text to audio files and saving them.## Features
- Conversion of text to speech in multiple languages.
- Saving generated audio files with unique names.
- Basic administrative functions through Django Admin.
## Installation
1. **Clone the repository:**```bash
git clone [email protected]:nasirovx/DJ_Text_To_Speech.git
cd DJ_Text_To_Speech
```2. **Create a virtual environment:**
```bash
python -m venv venv
```3. **Activate the virtual environment:**
- On Windows:
```bash
venv\Scripts\activate
```- On macOS/Linux:
```bash
source venv/bin/activate
```4. **Install dependencies:**
```bash
pip install -r requirements.txt
```5. **Apply migrations:**
```bash
python manage.py migrate
```6. **Start the development server:**
```bash
python manage.py runserver
```7. **Open the browser and go to [http://localhost:8000/admin](http://localhost:8000/admin) to access Django Admin.**
8. **Log in using administrative credentials and start using the text-to-speech functionality.**
## Usage
1. Log in to Django Admin and navigate to the "Text to Speech" section.
2. Create a new entry by providing the text and a unique file name. Optionally, you can select the language for the speech.
3. Save the entry, and the corresponding audio file will be generated and saved in the `voice/` directory.
4. To listen to or download the generated audio, go to the detail page of the entry in Django Admin and click on the provided link.
## Contribution
Contributions are welcome! If you have ideas for improvements or new features, feel free to create an issue or submit a pull request.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.