File size: 1,341 Bytes
abce0d3
0c14de0
 
abce0d3
 
 
 
 
 
 
 
2861940
abce0d3
 
 
 
 
 
f11cb5f
abce0d3
f11cb5f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
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
```