Web service which lets you demix stems using remote compute resources.
Find a file
2023-07-06 21:15:54 +00:00
.vscode Initial commit 2023-07-06 21:15:54 +00:00
src Initial commit 2023-07-06 21:15:54 +00:00
.editorconfig Initial commit 2023-07-06 21:15:54 +00:00
.gitignore Initial commit 2023-07-06 21:15:54 +00:00
.python-version Initial commit 2023-07-06 21:15:54 +00:00
demucs-stems-zip.nginx.conf Initial commit 2023-07-06 21:15:54 +00:00
pyproject.toml Initial commit 2023-07-06 21:15:54 +00:00
README.md Initial commit 2023-07-06 21:15:54 +00:00
requirements-dev.lock Initial commit 2023-07-06 21:15:54 +00:00
requirements.lock Initial commit 2023-07-06 21:15:54 +00:00

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