This project contains a FastAPI backend and a React + Vite frontend for the avatar generation workflow.
From the project root:
cp .env.example .env
Navigate to the backend directory:
cd backend
conda create --prefix ./.conda python=3.10 -y
conda activate ./.conda
From inside the backend/ directory:
pip install -r requirements.txt
pip install --no-deps TTS==0.22.0
This project uses Redis and PostgreSQL for local infrastructure.
./start-docker.sh
You can stop the containers with:
docker compose -f backend/docker-compose.yml down
From the project root:
cd backend
PYTHONPATH=. python -m uvicorn app:app --host 0.0.0.0 --port 8000 --reload
The API will be available at:
Open a second terminal and run:
cd frontend
npm install
npm run dev -- --host 0.0.0.0 --port 5173
The frontend will be available at:
.
├── backend/
│ ├── .conda/ # Conda environment (Python 3.10)
│ ├── app.py
│ ├── celery_app.py
│ ├── contracts.py
│ ├── docker-compose.yml
│ ├── job_queue.py
│ ├── requirements.txt
│ ├── voice_engine.py
│ └── outputs/
├── frontend/
│ ├── src/
│ ├── package.json
│ └── vite.config.js
├── docs/
├── tests/
├── .env.example
├── README.md
├── start-docker.sh
├── inputs/
└── outputs/
cd /home/nithiish/Documents/ai_avatar_plateform
PYTHONPATH=backend ./backend/.conda/bin/python -m unittest discover -s tests -p 'test_*.py' -q
cd frontend
npm run build
in_memory in .env.example for local development.QUEUE_BACKEND=celery in your environment and make sure Redis is running.http://localhost:8000 with CORS enabled for local development.21 commits
1 commits
Python
69.2%
JavaScript
26.4%
CSS
3.7%
This project contains a FastAPI backend and a React + Vite frontend for the avatar generation workflow.
From the project root:
cp .env.example .env
Navigate to the backend directory:
cd backend
conda create --prefix ./.conda python=3.10 -y
conda activate ./.conda
From inside the backend/ directory:
pip install -r requirements.txt
pip install --no-deps TTS==0.22.0
This project uses Redis and PostgreSQL for local infrastructure.
./start-docker.sh
You can stop the containers with:
docker compose -f backend/docker-compose.yml down
From the project root:
cd backend
PYTHONPATH=. python -m uvicorn app:app --host 0.0.0.0 --port 8000 --reload
The API will be available at:
Open a second terminal and run:
cd frontend
npm install
npm run dev -- --host 0.0.0.0 --port 5173
The frontend will be available at:
.
├── backend/
│ ├── .conda/ # Conda environment (Python 3.10)
│ ├── app.py
│ ├── celery_app.py
│ ├── contracts.py
│ ├── docker-compose.yml
│ ├── job_queue.py
│ ├── requirements.txt
│ ├── voice_engine.py
│ └── outputs/
├── frontend/
│ ├── src/
│ ├── package.json
│ └── vite.config.js
├── docs/
├── tests/
├── .env.example
├── README.md
├── start-docker.sh
├── inputs/
└── outputs/
cd /home/nithiish/Documents/ai_avatar_plateform
PYTHONPATH=backend ./backend/.conda/bin/python -m unittest discover -s tests -p 'test_*.py' -q
cd frontend
npm run build
in_memory in .env.example for local development.QUEUE_BACKEND=celery in your environment and make sure Redis is running.http://localhost:8000 with CORS enabled for local development.21 commits
1 commits
Python
69.2%
JavaScript
26.4%
CSS
3.7%