#!/bin/bash # Fetches the current book01 cast and compares it against the manual baseline. # Run this once the re-cast has finished (Studio shows the cast complete). set -e CD=/home/sparky/Docker/tts-voice-creator-clone-and-design-2 B1=ffa33211681d46f1827663bb0aa76390 curl -s "http://localhost:7890/api/reader/docs/$B1/scripts/cast" -o /tmp/book01_AFTER.json python3 "$CD/scripts/compare_casts.py" /tmp/book01_BEFORE.json /tmp/book01_AFTER.json