Spaces:
Running on CPU Upgrade

isai / README.md
vagmi's picture
Add Docker support (#2)
f11cb5f
---
title: Isai - Music Intelligence
emoji: 🎵
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 3.29.0
app_file: app.py
pinned: true
license: cc-by-nc-4.0
---
<!-- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference -->
# Music Decription
This is an example of using the [MERT-v1-95M](https://huggingface.co/m-a-p/MERT-v1-95M) model as backbone to conduct multiple music understanding tasks with the universal represenation.
The tasks include EMO, GS, MTGInstrument, MTGGenre, MTGTop50, MTGMood, NSynthI, NSynthP, VocalSetS, VocalSetT.
More models can be referred at the [map organization page](https://huggingface.co/m-a-p).
# Run Local Docker
If you want to run this locally on your MacOS (M1/M2) without having to deal with installing all the dependencies yourself you can use Docker to run the app locally.
### Docker CLI
Using below commands you can build image and run container locally:
```shell
$ docker build -t isai .
$ docker run -p 7860:7860 -it isai
```
The app is now available locally at http://localhost:7860/
### Docker Compose
If there is a desire to tweak or experiment further you can also run the app using Docker Compose.
```shell
$ docker-compose build
$ docker-compose up -d
$ docker-compose exec app bash
root@cc9b8397a349:/app# python app.py
```