Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -9,4 +9,92 @@ app_file: app.py
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
pinned: false
|
10 |
---
|
11 |
|
12 |
+
# πΌΒ SonicVerse
|
13 |
+
|
14 |
+
An interactive demo for SonicVerse, a music captioning model, allowing users to input audio of up to 10 seconds and generate a natural language caption
|
15 |
+
that includes a general description of the music as well as music features such as key, instruments, genre, mood / theme, vocals gender.
|
16 |
+
|
17 |
+
---
|
18 |
+
|
19 |
+
## π Demo
|
20 |
+
|
21 |
+
Check out the live Space here:
|
22 |
+
[](https://huggingface.co/spaces/annabeth97c/SonicVerse)
|
23 |
+
|
24 |
+
---
|
25 |
+
|
26 |
+
## π Samples
|
27 |
+
|
28 |
+
Short captions
|
29 |
+
|
30 |
+
---
|
31 |
+
|
32 |
+
## π¦ Features
|
33 |
+
|
34 |
+
β
Upload a 10 second music clip and get a caption
|
35 |
+
|
36 |
+
β
Upload a long music clip (upto 1 minute for successful demo) to get a long detailed caption for the whole music clip.
|
37 |
+
|
38 |
+
---
|
39 |
+
|
40 |
+
## π οΈ How to Run Locally
|
41 |
+
|
42 |
+
```bash
|
43 |
+
# Clone the repo
|
44 |
+
git clone https://github.com/AMAAI-Lab/SonicVerse
|
45 |
+
cd SonicVerse
|
46 |
+
|
47 |
+
# Install dependencies
|
48 |
+
pip install -r requirements.txt
|
49 |
+
|
50 |
+
# Alternatively, set up conda environment
|
51 |
+
conda env create -f environment.yml
|
52 |
+
conda activate sonicverse
|
53 |
+
|
54 |
+
# Run the app
|
55 |
+
python app.py
|
56 |
+
```
|
57 |
+
|
58 |
+
---
|
59 |
+
|
60 |
+
<!-- ## π File Structure
|
61 |
+
|
62 |
+
```
|
63 |
+
.
|
64 |
+
βββ app.py # Web app file
|
65 |
+
βββ requirements.txt # Python dependencies
|
66 |
+
βββ environment.yml # Conda environment
|
67 |
+
βββ README.md # This file
|
68 |
+
βββ src/sonicverse # Source
|
69 |
+
```
|
70 |
+
|
71 |
+
--- -->
|
72 |
+
|
73 |
+
## π‘ Usage
|
74 |
+
|
75 |
+
To use the app:
|
76 |
+
1. Select audio clip to input
|
77 |
+
2. Click the **Generate** button.
|
78 |
+
3. See the modelβs output below.
|
79 |
+
|
80 |
+
---
|
81 |
+
|
82 |
+
## π§Ή Built With
|
83 |
+
|
84 |
+
- [Hugging Face Spaces](https://huggingface.co/spaces)
|
85 |
+
- [Gradio](https://gradio.app/)
|
86 |
+
- [Mistral 7B](https://huggingface.co/mistralai/Mistral-7B-v0.1)
|
87 |
+
- [MERT 95M](https://huggingface.co/m-a-p/MERT-v1-95M)
|
88 |
+
---
|
89 |
+
|
90 |
+
<!-- ## β¨ Acknowledgements
|
91 |
+
|
92 |
+
- [Model authors or papers you built on]
|
93 |
+
- [Contributors or collaborators]
|
94 |
+
|
95 |
+
---
|
96 |
+
|
97 |
+
## π License
|
98 |
+
|
99 |
+
This project is licensed under the MIT License / Apache 2.0 / Other.
|
100 |
+
-->
|