When the Whisper analysis detects no speech near a Gemini-recommended pause point, skip the full-gap-overlap algorithm and use the exact pause point with no overlap (pause_point == resume_from). This handles cases where Gemini chose a pause point in a silent or music-only section of the video - there's no dialogue to buffer around, so we simply pause and resume at the exact same point. Three outcomes now in snap_pause_point(): 1. No speech nearby → exact pause point, no overlap, no warning 2. Speech but no sentence break → warning (existing behavior) 3. Sentence break found → full-gap-overlap (existing behavior) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __pycache__ | ||
| api/v1 | ||
| core | ||
| lib | ||
| middleware | ||
| migrations | ||
| models | ||
| prompts | ||
| schemas | ||
| services | ||
| tasks | ||
| telemetry | ||
| main.py | ||