To run all tests using uv and pytest:
uv pip install pytest
uv run -m pytest
Or, with pip:
pip install pytest
pytest
Install dependencies and the package using uv (recommended):
uv pip install -e .
Or, for standard pip:
pip install -e .
After installation, run the app using uv (recommended):
uv run whisper-agent
Or, if you prefer pip or Python directly:
python main.py
This will start the directory watcher and process new audio files as described above.
- Python 3.12
- CUDA-enabled GPU (for best performance)
- Set the
HF_TOKENenvironment variable for diarization
- Edit paths and model names in the code or (after refactor) in the config module.