https://github.com/andreifilip123/separate-python.git
This is an API wrapper around the demucs library for music source separation.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
This project requires Python 3.9 (strictly) and pipenv. To install pipenv, go to pipenv. The reason Python 3.9 is fixed is because the project uses pytorch which is not yet available for Python 3.10.
This project also requires redis to be installed and running on the default port (6379).
The project requires the following environment variables to be set:
REDIS_URL= # defaults to redis://localhost:6379
First, clone the repository:
git clone https://github.com/andreifilip123/separate-python.git
cd separate-python
Then, install the dependencies:
pipenv install
Now, you can run the project:
pipenv run uvicorn src.main:app --reload
To start the queue worker, run:
pipenv run rq worker