modelbeast/scripts/install_rhubarb.sh
type-two 110b2298b7 audio/video/text operator suite: stt_local, lipsync_local, voice_clone_local, wan_video, llm_local
- stt_local: Whisper large-v3-turbo MLX, transcript + timestamped json
- lipsync_local: Rhubarb visemes (CPU lane), dialog-guided
- voice_clone_local: Chatterbox on MPS (needs setuptools<81 for perth/pkg_resources)
- wan_video: Wan 2.2 TI2V-5B t2v/i2v via resident ComfyUI, frames->mp4
- llm_local: Qwen3-30B-A3B-4bit dialogue writer (primary-only)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 18:26:51 +10:00

17 lines
722 B
Bash
Executable File

#!/usr/bin/env bash
# Install Rhubarb Lip Sync (audio → viseme timings) into vendor/rhubarb.
# Official binary is x86_64 — runs via Rosetta on Apple Silicon Macs.
set -euo pipefail
cd "$(dirname "$0")/.."
V=1.14.0
[ -x vendor/rhubarb/rhubarb ] && { echo "already installed: $(vendor/rhubarb/rhubarb --version)"; exit 0; }
mkdir -p vendor
curl -fsSL -o /tmp/rhubarb.zip \
"https://github.com/DanielSWolf/rhubarb-lip-sync/releases/download/v${V}/Rhubarb-Lip-Sync-${V}-macOS.zip"
unzip -q -o /tmp/rhubarb.zip -d vendor/
rm -rf vendor/rhubarb
mv "vendor/Rhubarb-Lip-Sync-${V}-macOS" vendor/rhubarb
xattr -dr com.apple.quarantine vendor/rhubarb 2>/dev/null || true
rm -f /tmp/rhubarb.zip
vendor/rhubarb/rhubarb --version