Spaces:
Running
Running
Commit History
-
Document payment recovery and add safe live webhook probe
c2203fa
-
Clean up audio before transcription (light level on by default)
New src/audio_processor/enhance.py, numpy/scipy only: - light: DC offset removed, 80 Hz high-pass for rumble, slow speech levelling (quiet speakers lifted up to +12 dB, loud ones lowered up to 6 dB, gain held through pauses so background noise is not pumped up), soft peak limiter. - full: light plus gentle non-stationary spectral gating (floor -12 dB, gains smoothed, noise estimate bias-corrected), only when the recording measures below 25 dB SNR. The engine applies separate levels to the words (AUDIO_ENHANCE_ASR, default light) and to speaker detection (AUDIO_ENHANCE_DIARIZATION, default off). A failed clean-up never fails the job. Evaluation (scripts/enhance_eval_*.py, engine called directly on Modal): AMI ES2004a + IS1009a as headset mix, room mic and headset with hum + chatter, Whisper small and large-v3, plus 11 min of FLEURS Yoruba clean and noisy. Average WER off -> light: large-v3 40.7 -> 39.8, small 46.1 -> 44.8; Yoruba clean 86.4 -> 84.3 (tone-blind 57.4 -> 53.3), n…4f6c67f
-
set_paystack_key.sh: ask for a Hugging Face token when the saved login is stale
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>27088c4 -
Add scripts/set_paystack_key.sh; Modal loads a separate narratifai-paystack secret
The script asks for the key with hidden input, checks it with Paystack, sets it as a Space secret (restart) and as its own Modal secret (redeploy), then checks both servers can start a checkout. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>af1a2b0