Created
December 11, 2025 08:54
-
-
Save vitorcalvi/417668831737723835b201b76b48ef3b to your computer and use it in GitHub Desktop.
Kokoro-FastAPI Voice generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Simple one-shot runner for Kokoro-FastAPI on macOS | |
| set -e | |
| # 1) Go to project folder | |
| cd "${HOME}/Desktop/Kokoro-FastAPI" | |
| # 2) (Optional) Create and use a virtualenv | |
| if [ ! -d ".venv" ]; then | |
| python3 -m venv .venv | |
| fi | |
| # shellcheck disable=SC1091 | |
| source .venv/bin/activate | |
| # 3) Make the GPU start script executable and run it | |
| chmod +x start-gpu_mac.sh | |
| ./start-gpu_mac.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment