Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # scott_studio_run.sh — paste into Lightning studio `mcli-training-l4` terminal. | |
| # Follows VOICE_CREATION_GUIDE.md exactly. Same pattern as Clarkson v6. | |
| set -e | |
| cd ~/repos/mcli-voice | |
| git pull -q | |
| # Pull Scott source audio (published as GitHub release asset) | |
| gh release download v0.4-scott-adams-source -p scott_16k.wav -O /tmp/scott_src.wav --clobber 2>/dev/null || \ | |
| curl -sL -H "Authorization: token $(gh auth token)" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """scott_voice v5 — FULLY self-contained. Paste into Lightning studio terminal: | |
| curl -sL <raw_gist_url> | python - | |
| Embeds ref.wav + gen_text. Whisper transcribes 12s ref, F5-TTS synthesizes.""" | |
| import base64, os, subprocess, sys, json, time | |
| from pathlib import Path | |
| HERE = Path.home() / "scott_voice_run" | |
| HERE.mkdir(exist_ok=True) | |
| print(f"[sv] working in {HERE}", flush=True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """scott_voice_001 — self-contained. Runs polish.py on Lightning L4.""" | |
| import base64, os, subprocess, sys | |
| from pathlib import Path | |
| HERE = Path(__file__).parent.resolve() | |
| WORK = HERE / "work"; WORK.mkdir(exist_ok=True) | |
| FILES = { | |
| "polish.py": "IyEvdXNyL2Jpbi9lbnYgcHl0aG9uMwoiIiIKcG9saXNoLnB5IOKAlCB0aGUgZW50aXJlIE1DTEkgVm9pY2UgcG9saXNoaW5nIHBpcGVsaW5lLCBhcyBvbmUgcmVwcm9kdWNpYmxlIHNjcmlwdC4KCkNhcHR1cmVzIGV2ZXJ5IGxlc3NvbiBmcm9tIHRoZSAyMDI2LTA0LTE1IHNlc3Npb246CiAgMS4gUHVsbCBzb3VyY2UgYXVkaW8gZnJvbSBZb3VUdWJlIChvciBhbnkgVVJML2ZpbGUpCiAgMi4gV2hpc3Blci10cmFuc2NyaWJlIGZ1bGwgdGltZWxpbmUKICAzLiBEZW11Y3MtaXNvbGF0ZSB2b2NhbHMgKHJlbW92ZSBtdXNpYyArIGVuZ2luZSArIGFtYmllbnQpCiAgNC4gU2NvcmUgZXZlcnkgdHJhbnNjcmliZWQgc2VnbWVudCBvbiAoUk1TLCBwaXRjaCB2YXJpYW5jZSwgV1BNLCBkdXJhdGlvbiBmaXQpCiAgNS4gUGljayB0b3AtTiBjYW5kaWRhdGUgcmVmZXJlbmNlIHdpbmRvd3MKICA2LiBTZWNvbmQtcGFzcyBjbGVhbnVwIG9uIGVhY2ggcmVmIChub2lzZXJlZHVjZSwgcXVpZXRlc3QtZnJhbWUgbm9pc2UgcHJvZmlsZSwgZ2VudGxlIHByb3BfZGVjcmVhc2U9MC42KQogIDcuIEF |