Spaces:
Sleeping
Sleeping
Commit History
-
Accept browser recordings: .webm, plus .opus .mov .mkv .3gp .amr
The engine's format list had no .webm, so every web recording failed with 'Unsupported audio format' after upload. Container formats go straight to pydub/ffmpeg, which reads them and measures their real length. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>a4adcfa
-
fix: VBR MP3 chunking, beam search, spanning segments, diarization threshold
- engine.py: use len(audio)/sr as actual duration so VBR MP3s (where sf.info() silently returns wrong duration) correctly trigger chunking; pass last 200 chars of each chunk as initial_prompt for cross-chunk context - validator.py: route MP3/M4A/AAC/WMA directly to pydub (skip soundfile which misreports VBR container durations without raising an exception) - chunker.py: keep segments that straddle the overlap cutoff (seg_end > cutoff) instead of dropping them entirely, preventing silent content loss at boundaries - asr_pipeline.py: forward beam_size from config to generate_kwargs so settings.yaml beam_size: 5 actually runs beam search instead of greedy - diarization/engine.py: lower speaker assignment threshold 30% -> 20% to handle fast turn-taking where short segments span two speakers Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>6ad496b
-
Switch to async FastAPI REST API; fix chunker dedup, GPU diarization, torch dtypes, pydub duration
- Dockerfile: serve app.py via uvicorn (FastAPI REST) instead of Gradio UI - app.py: /transcribe returns 202 immediately, background task runs pipeline, /result/{job_id} for polling - chunker.py: fix merge dedup (>= last_end_time), monotonic segment IDs - diarization/engine.py: explicitly move pyannote pipeline to cuda:0 - registry.py: torch_dtype=float16 on CUDA, chunk_length_s/stride_length_s - asr_pipeline.py: strip unsupported generate_kwargs - validator.py: use pydub for full-duration extraction (not librosa truncated) - requirements.txt: add torchaudio==2.1.0 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1deeec7
-
initial: modular ASR system v2
e2ef3c4