---------- * WIP * ----------
This repo, in short, is about tagging emotions to songs, using both audio and video input, and finding similar sounding songs. Head on over to our wiki if you want to read more about the project!
We have a super simple installation guide down below that will show you how to setup the project locally.
Build docker: docker-compose build
When creating the database locally, there is a bug with creating a database that already exists. This is the current work around:
First setup of containers: docker-compose up -d
Edit main file:
- Go into "/src/__main__.py"
- Find the these two lines and comment them out:
db = AudioDB()
-->#db = AudioDB()
db.setup()
-->#db.setup()
Final setup of containers: docker-compose down && docker-compose up -d
Stop and remove containers: docker-compose down
See which containers are currently running: docker-compose ps
Setting the user inside the container to fix any potential permission problems.
CURRENT_UID=$(id -u):$(id -g) docker-compose up -d
docker-compose exec CONTAINER_NAME bash
If everything goes smoothly, the API should be accessible on the following URL:
localhost:80