- Python 3.12 (
⚠️ Do not use 3.13 – compatibility issues) - FFmpeg (required for Whisper to process audio)
pyenv local 3.12.3 # ensures 3.12.x is used in this directory
python3.12 -m venv venv
source venv/bin/activate
brew install ffmpeg # For macOS
# OR
sudo apt install ffmpeg # For Ubuntu/Debian
pip install -r requirements.txt
uvicorn app.main:app --reload
- Swagger UI: http://localhost:8000/docs
- ReDoc UI: http://localhost:8000/redoc
Make sure your virtual environment is activated before running tests.
pytest
pytest ./tests/unit
pytest ./tests/integration
You can use sample audio files from:
🔗 https://thevoiceovervoice.co.uk/female-voice-over-samples/