Skip to content

Latest commit

 

History

History
75 lines (53 loc) · 2.25 KB

File metadata and controls

75 lines (53 loc) · 2.25 KB

Quickstart Guide

This guide will help you get EchoScribe up and running quickly on your local machine or using Docker.

Prerequisites

  • Python 3.11+ installed.
  • uv installed (recommended for dependency management).
    • Installation: pip install uv or see uv docs.
  • Git to clone the repository.
  • FFmpeg: Required system dependency.
    • Windows: Download and add to PATH.
    • Linux: sudo apt install ffmpeg
    • macOS: brew install ffmpeg

🚀 Running Locally with uv

  1. Clone the repository:

    git clone https://github.com/bhattaraiprayag/echoscribe.git
    cd echoscribe
  2. Sync dependencies: This will create a virtual environment (.venv) and install all required packages into it.

    uv sync
  3. Verify VAD Runtime Dependency (optional, recommended): EchoScribe uses the pinned silero-vad package loader (no torch.hub runtime fetch). You can validate it with:

    uv run python backend/get_vad.py
  4. Run the Server from the repository root:

    uv run uvicorn backend.main:app --host 0.0.0.0 --port 8000 --reload
  5. Access the App: Open http://localhost:8000 in your browser.

🐳 Running with Docker

  1. Start the container:

    make docker-run
  2. Access the App: Open http://localhost:8000.

🧪 Running Tests and Checks

To verify your installation and quality gates:

make lint
make format-check
make test
make coverage
make smoke

🔧 Troubleshooting

  • Missing FFmpeg: If you see errors about audio processing, ensure ffmpeg is 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.py to verify the installed silero-vad package can load the model artifact.