This guide will help you get EchoScribe up and running quickly on your local machine or using Docker.
- Python 3.11+ installed.
- uv installed (recommended for dependency management).
- Installation:
pip install uvor see uv docs.
- Installation:
- Git to clone the repository.
- FFmpeg: Required system dependency.
- Windows: Download and add to PATH.
- Linux:
sudo apt install ffmpeg - macOS:
brew install ffmpeg
-
Clone the repository:
git clone https://github.com/bhattaraiprayag/echoscribe.git cd echoscribe
-
Sync dependencies: This will create a virtual environment (
.venv) and install all required packages into it.uv sync
-
Verify VAD Runtime Dependency (optional, recommended): EchoScribe uses the pinned
silero-vadpackage loader (notorch.hubruntime fetch). You can validate it with:uv run python backend/get_vad.py -
Run the Server from the repository root:
uv run uvicorn backend.main:app --host 0.0.0.0 --port 8000 --reload
-
Access the App: Open http://localhost:8000 in your browser.
-
Start the container:
make docker-run -
Access the App: Open http://localhost:8000.
To verify your installation and quality gates:
make lint
make format-check
make test
make coverage
make smoke- Missing FFmpeg: If you see errors about audio processing, ensure
ffmpegis in your system PATH. - Cuda/GPU Issues: If you have an NVIDIA GPU but it's not being detected, ensure you have the correct NVIDIA drivers installed. The Docker image attempts to use CUDA 12.9 equivalents; local setups will default to your installed drivers or PyTorch's default (CPU) if not configured.
- VAD Model Error: Re-run
uv run python backend/get_vad.pyto verify the installedsilero-vadpackage can load the model artifact.