Video Transcription & Translation System
This project is a full-stack, AI-powered application designed to transcribe spoken content from MP4 video files and translate it into a user-selected target language. It provides a web interface for uploading videos and receiving translated transcripts, leveraging asynchronous processing for efficiency.
- Docker Desktop
- An OpenAI API Key
-
Clone the repository:
git clone https://github.com/Wassim-Hamra/TahoAI_Challenge.git cd TahoAI_Challenge -
Create
backend/backend.env: Navigate into yourbackenddirectory:cd backendCreate a file named
backend.envin this directory and add your OpenAI API key:OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxReplace
sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxwith your actual OpenAI API Key. Then, navigate back to the project root:cd .. -
Build and Run with Docker Compose: From the root directory of the project (where
docker-compose.ymlis located), run:docker-compose up --build
This command will:
- Build the Docker images for both your backend and frontend.
- Start Redis, the Django backend server, the Celery worker, and the Next.js development server.
Once docker-compose up is running, the application will be accessible:
- Frontend (Web UI): Open your browser and navigate to
http://localhost:3000
- To view logs from all running services:
docker-compose logs -f
- To view logs from a specific service (e.g.,
backendorcelery_worker):docker-compose logs -f backend docker-compose logs -f celery_worker
To stop all running services, press Ctrl+C in the terminal where docker-compose up is running.
here's a video you can test the application with
