This Django project allows converting text to audio files and saving them.
- Conversion of text to speech in multiple languages.
- Saving generated audio files with unique names.
- Basic administrative functions through Django Admin.
-
Clone the repository:
git clone https://github.com/5ekastanx/Text-To-Speech.git cd Text-To-Speech
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS/Linux:
source venv/bin/activate
-
-
Install dependencies:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Start the development server:
python manage.py runserver
-
Open the browser and go to http://localhost:8000/admin to access Django Admin.
-
Log in using administrative credentials and start using the text-to-speech functionality.
-
Log in to Django Admin and navigate to the "Text to Speech" section.
-
Create a new entry by providing the text and a unique file name. Optionally, you can select the language for the speech.
-
Save the entry, and the corresponding audio file will be generated and saved in the
voice/
directory. -
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.
Contributions are welcome! If you have ideas for improvements or new features, feel free to create an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.