500 B
500 B
demucs-server
Web service which lets you demix stems using remote compute resources.
Setup
$ rye sync
$ rye shell
[rye] $ cd src/
src/ [rye] $ ./dev_run.py
Architecture
- flask application mostly lives in
demucs_server.routes
- demucs / ffmpeg is run on a separate thread at
demucs_server.torch_worker
- songs are queued with
torch_worker.work_queue.put(DemucsTask(..))
- songs are processed by the thread worker and the database is written to report progress