This project provides a Python application that generates videos from Arabic words and their meanings. Each video includes the word spoken using text-to-speech, displayed with its meaning, and accompanied by an audio pronunciation.
- Text-to-Speech: Converts Arabic text to speech using gTTS.
- Video Generation: Creates a video with Arabic text and audio.
- Support for Arabic Script: Utilizes
arabic_reshaper
andpython-bidi
to properly display Arabic script.
Ensure you have Docker installed on your system to build and run this application using the provided Dockerfile. Alternatively, you can manually install the dependencies listed in requirements.txt
.
-
Clone the Repository
git clone [repository-url] cd [repository-directory]
-
Build the Docker Image
docker build -t say-arabic .
-
Run the Container
docker run say-arabic
Alternatively, if you prefer to run it locally without Docker:
-
Install the dependencies:
pip install -r requirements.txt
-
Run the script:
python main.py