๐Ÿ“ฆ andreifilip123 / separate-python

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching
๐Ÿ“ฅ Clone https://github.com/andreifilip123/separate-python.git
HTTPS git clone https://github.com/andreifilip123/separate-python.git
SSH git clone git@github.com:andreifilip123/separate-python.git
CLI gh repo clone andreifilip123/separate-python
Filip Taifas Filip Taifas try stuff 3ad2b61 1 years ago ๐Ÿ“ History
๐Ÿ“‚ 3ad2b61e38ae705b1105806e7b0d63d614cec755 View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ .vscode
๐Ÿ“ src
๐Ÿ“„ .gitignore
๐Ÿ“„ Pipfile
๐Ÿ“„ Pipfile.lock
๐Ÿ“„ README.md
๐Ÿ“„ startup.sh
๐Ÿ“„ README.md

Separate Music

This is an API wrapper around the demucs library for music source separation.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

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).

Environment variables

The project requires the following environment variables to be set:

REDIS_URL= # defaults to redis://localhost:6379

Starting the project

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