Add one-command runner for the book01 manual-vs-automated cast comparison
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
737687789f
commit
da3d442656
8
scripts/run_book01_test.sh
Executable file
8
scripts/run_book01_test.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/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
|
||||
Loading…
Reference in New Issue
Block a user