From 630440783688d338c0a1f7a792725abee0f514dd Mon Sep 17 00:00:00 2001 From: tigeryfan Date: Fri, 14 Feb 2025 09:24:56 +0800 Subject: [PATCH] Update Kokoro-FastAPI-integration.md For my case, using `http://localhost:8880/v1` kept returning Server Connection Errors. Replacing `localhost` to `host.docker.internal` seems to resolve the issue, as I'm running Kokoro-FastAPI in a Docker container. --- docs/tutorials/text-to-speech/Kokoro-FastAPI-integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/text-to-speech/Kokoro-FastAPI-integration.md b/docs/tutorials/text-to-speech/Kokoro-FastAPI-integration.md index 4087390..3d32e17 100644 --- a/docs/tutorials/text-to-speech/Kokoro-FastAPI-integration.md +++ b/docs/tutorials/text-to-speech/Kokoro-FastAPI-integration.md @@ -111,7 +111,7 @@ To use Kokoro-FastAPI with Open WebUI, follow these steps: - Open the Admin Panel and go to `Settings` -> `Audio` - Set your TTS Settings to match the following: - - Text-to-Speech Engine: OpenAI - - API Base URL: `http://localhost:8880/v1` + - API Base URL: `http://localhost:8880/v1` # you may need to use `host.docker.internal` instead of `localhost` - API Key: `not-needed` - TTS Model: `kokoro` - TTS Voice: `af_bella` # also accepts mapping of existing OAI voices for compatibility