isai / README.md
vagmi's picture
Add Docker support (#2)
f11cb5f

A newer version of the Gradio SDK is available: 4.37.1

Upgrade
metadata
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

Music Decription

This is an example of using the 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.

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:

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

$ docker-compose build
$ docker-compose up -d
$ docker-compose exec app bash
root@cc9b8397a349:/app# python app.py