horizonmoine30/omnitab-demucs
0
OmniTab Demucs
Stem-separation backend for OmniTab, a PWA guitar companion.
Powered by Meta's Demucs (Hybrid Transformer model).
API
GET /health— liveness probe (returns device, model, torch version)GET /— root liveness ping (HF Spaces uses this)POST /separate-stream?stem=guitar— upload audio file, get back the isolated stem as WAVGET /youtube-audio?url=…— extract MP3 from a YouTube URL via yt-dlp (10 min cap, configurable viaOMNITAB_YT_MAX_DURATION_S). Title returned inX-Omnitab-Titleheader.
Usage from OmniTab
The PWA defaults to this Space in production. To self-host instead:
- Copy your Space's URL (e.g.
https://your-user-demucs.hf.space) - In OmniTab, go to Settings → Backend Demucs
- Paste the URL and save
- The Transcriber page will then show "Demucs disponible" and use stem isolation + YouTube import against your Space.
