Initial commit: avc-phone-ai codebase + CLAUDE.md

This commit is contained in:
tocmo0nlord
2026-06-23 22:38:22 +00:00
parent 4bf72b9616
commit c3c719b77e
16 changed files with 1491 additions and 0 deletions

20
run_web.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
# Launch the browser (WebRTC) version of Sofia for fast iteration — same brain as the
# phone agent, served at http://localhost:7860. Mirrors run.sh (venv + CUDA libs + .env).
set -euo pipefail
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
VENV="/home/tocmo0nlord/pipecat-run/.venv"
# faster-whisper (ctranslate2) needs the CUDA12 cublas + cudnn shared libs at runtime.
NV="$VENV/lib/python3.13/site-packages/nvidia"
export LD_LIBRARY_PATH="$NV/cublas/lib:$NV/cudnn/lib:${LD_LIBRARY_PATH:-}"
# Load .env (model, voice, VAD, etc.) — same config the phone agent uses.
if [ -f "$HERE/.env" ]; then
set -a; . "$HERE/.env"; set +a
fi
cd "$HERE"
echo "Sofia (browser) starting — open http://localhost:7860 once it's up."
exec "$VENV/bin/python" bot_web.py