Commit 2a42b97
Fix Whisper transcription: surface real errors + keep stdout clean
- Transcription errors now include the Python stderr (missing ffmpeg,
package/model issues) instead of a bare 'exit status 1'.
- The 'Loading: <model>' status line now goes to stderr, so stdout is the
pure transcript (was leaking the status text as the result on short/silent
clips). Verified end-to-end: a test WAV transcribes with clean output.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent ce8e202 commit 2a42b97
1 file changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
| 296 | + | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
338 | 353 | | |
339 | 354 | | |
340 | 355 | | |
| |||
0 commit comments