Skip to content

Setup uv

remsky edited this page Feb 2, 2025 · 4 revisions

uv Setup Guide

Dockerized FastAPI wrapper for Kokoro-82M text-to-speech model

Get Started

Direct Run (via uv)
  1. Install prerequisites ():
    • Install astral-uv

    • Clone the repository:

      git clone https://github.com/remsky/Kokoro-FastAPI.git
      cd Kokoro-FastAPI
      
      # if you are missing any models, run:
      # python ../scripts/download_model.py --type pth  # for GPU
      # python ../scripts/download_model.py --type onnx # for CPU

      Start directly via UV (with hot-reload)

      ./start-cpu.sh OR
      ./start-gpu.sh

Clone this wiki locally