mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-08-05 16:48:53 +00:00
Disable --reload on unicorn/fastapi to avoid pegging a CPU core
Signed-off-by: David Li <jiawei.davidli@gmail.com>
This commit is contained in:
parent
b00c9ec28d
commit
2b9933479a
2 changed files with 2 additions and 2 deletions
|
@ -14,4 +14,4 @@ export WEB_PLAYER_PATH=$PROJECT_ROOT/web
|
|||
# Run FastAPI with CPU extras using uv run
|
||||
# Note: espeak may still require manual installation,
|
||||
uv pip install -e ".[cpu]"
|
||||
uv run uvicorn api.src.main:app --reload --host 0.0.0.0 --port 8880
|
||||
uv run uvicorn api.src.main:app --host 0.0.0.0 --port 8880
|
||||
|
|
|
@ -13,4 +13,4 @@ export WEB_PLAYER_PATH=$PROJECT_ROOT/web
|
|||
|
||||
# Run FastAPI with GPU extras using uv run
|
||||
uv pip install -e ".[gpu]"
|
||||
uv run uvicorn api.src.main:app --reload --host 0.0.0.0 --port 8880
|
||||
uv run uvicorn api.src.main:app --host 0.0.0.0 --port 8880
|
||||
|
|
Loading…
Add table
Reference in a new issue