Initial commit

This commit is contained in:
2026-06-07 08:54:31 +02:00
commit 6a6da2d066
3 changed files with 44 additions and 0 deletions

19
setup-venv.sh Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
# Creates a venv in ./venv and installs Python deps for Chatterbox
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
VENV="${PYTHON_ENV:-${SCRIPT_DIR}/venv}"
if [ ! -d "${VENV}" ]; then
echo "==> creating venv at ${VENV}"
python3 -m venv "${VENV}"
fi
echo "==> installing Python dependencies"
"${VENV}/bin/pip" install --upgrade pip --quiet
"${VENV}/bin/pip" install chatterbox-tts
echo ""
echo "==> venv ready at ${VENV}"