Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix stale HF_GATED comment references after gated_repo rename

[._.]/ Adam Eivy4ffb7b3af909
diff --git a/client/src/components/install/MidiGatedModal.jsx b/client/src/components/install/MidiGatedModal.jsx
index da10273e4a..a2a00d5e86 100644
--- a/client/src/components/install/MidiGatedModal.jsx
+++ b/client/src/components/install/MidiGatedModal.jsx
@@ -2,7 +2,7 @@
* Gated-repo gate for MuScriptor (audio → MIDI) transcription. MuScriptor's
* model weights live in a gated HuggingFace repo (MuScriptor/muscriptor-*), so
* a first transcribe with no accepted license / token 403s. useMidiTranscription
- * opens this when the job streams an `HF_GATED` error frame — the user accepts
+ * opens this when the job streams a `gated_repo` error frame — the user accepts
* the license and pastes a read token (reusing HfTokenBanner, the same
* paste-and-save flow the gated image models use), then `onSaved` re-runs the
* captured transcription.
diff --git a/server/services/audioMidiTranscription.js b/server/services/audioMidiTranscription.js
index c8c0fdf716..2578e77b3e 100644
--- a/server/services/audioMidiTranscription.js
+++ b/server/services/audioMidiTranscription.js
@@ -169,7 +169,7 @@ export async function startMidiTranscription({ audioPath, outputName = 'transcri
// MuScriptor's weights live in a gated HF repo (MuScriptor/muscriptor-*),
// so pass the user's HF token through for the first download to
// authenticate. Without an accepted license the sidecar 403s and we
- // classify that into a typed HF_GATED frame below.
+ // classify that into a typed gated_repo frame below.
const env = safeChildProcessEnv(await hfTokenEnv());
// A cancel can land while the env was resolving (no child to SIGTERM yet)
// — honor the flag before spawning anything.