mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-04-13 09:39:17 +00:00
Delete start-gpu.sh
This commit is contained in:
parent
5c8f941f06
commit
8fe85c3386
1 changed files with 0 additions and 16 deletions
16
start-gpu.sh
16
start-gpu.sh
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Get project root directory
|
|
||||||
PROJECT_ROOT=$(pwd)
|
|
||||||
|
|
||||||
# Set environment variables
|
|
||||||
export USE_GPU=true
|
|
||||||
export USE_ONNX=false
|
|
||||||
export PYTHONPATH=$PROJECT_ROOT:$PROJECT_ROOT/api
|
|
||||||
export MODEL_DIR=src/models
|
|
||||||
export VOICES_DIR=src/voices/v1_0
|
|
||||||
export WEB_PLAYER_PATH=$PROJECT_ROOT/web
|
|
||||||
|
|
||||||
# Run FastAPI with GPU extras using uv run
|
|
||||||
uv pip install -e ".[gpu]"
|
|
||||||
uv run --no-sync uvicorn api.src.main:app --host 0.0.0.0 --port 50888
|
|
Loading…
Add table
Reference in a new issue