From 173341e0f29ad545c3b9b3eb565bb9905af882a8 Mon Sep 17 00:00:00 2001 From: remsky Date: Sat, 8 Feb 2025 01:39:54 -0700 Subject: [PATCH 1/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5c9ca11..4345703 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,8 @@ Refer to the core/config.py file for a full list of variables which can be manag ```bash -docker run -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.0 # CPU, or: -docker run --gpus all -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-gpu:v0.2.0 #NVIDIA GPU +docker run -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.0post3 # CPU, or: +docker run --gpus all -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-gpu:v0.2.0post3 #NVIDIA GPU ``` From 2a37905221315773638a79f2c479db1fd1b0fadd Mon Sep 17 00:00:00 2001 From: remsky Date: Sat, 8 Feb 2025 01:49:06 -0700 Subject: [PATCH 2/3] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4345703..d9fd70e 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ docker run --gpus all -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-gpu:v0.2.0post3 1. Install prerequisites (): - Install [astral-uv](https://docs.astral.sh/uv/) + - Install [espeak-ng](https://github.com/espeak-ng/espeak-ng) in your system if you want it available as a fallback for unknown words/sounds. The upstream libraries may attempt to handle this, but results have varied. - Clone the repository: ```bash git clone https://github.com/remsky/Kokoro-FastAPI.git From a1e3ac13513616e4d8742b22c38f8ea994d4e3e5 Mon Sep 17 00:00:00 2001 From: remsky Date: Sat, 8 Feb 2025 01:51:41 -0700 Subject: [PATCH 3/3] Update README.md --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d9fd70e..479f966 100644 --- a/README.md +++ b/README.md @@ -72,12 +72,10 @@ docker run --gpus all -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-gpu:v0.2.0post3 ```bash 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 ``` - + + Run the [model download script](https://github.com/remsky/Kokoro-FastAPI/blob/master/docker/scripts/download_model.py) if you haven't already + Start directly via UV (with hot-reload) ```bash ./start-cpu.sh OR