Spaces:
Running
on
Zero
Running
on
Zero
Update README.md
Browse files
README.md
CHANGED
@@ -1,37 +1,7 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
sdk: gradio
|
4 |
pinned: true
|
5 |
-
sdk_version: 5.
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
1. Set up the environment:
|
10 |
-
|
11 |
-
```
|
12 |
-
conda create --name notagen python=3.10
|
13 |
-
conda activate notagen
|
14 |
-
conda install pytorch==2.3.0 pytorch-cuda=11.8 -c pytorch -c nvidia
|
15 |
-
pip install accelerate
|
16 |
-
pip install optimum
|
17 |
-
pip install -r requirements.txt
|
18 |
-
```
|
19 |
-
|
20 |
-
2. Download [NotaGen-X](https://huggingface.co/ElectricAlexis/NotaGen/blob/main/weights_notagenx_p_size_16_p_length_1024_p_layers_20_h_size_1280.pth) and put it under ```gradio/```.
|
21 |
-
|
22 |
-
3. run ```demo.py```:
|
23 |
-
|
24 |
-
```
|
25 |
-
cd gradio/
|
26 |
-
python demo.py
|
27 |
-
```
|
28 |
-
|
29 |
-
4. Then you can view the demo page at 0.0.0.0:7861.
|
30 |
-
|
31 |
-
<p align="center">
|
32 |
-
<img src="illustration.png" alt="NotaGen Gradio Demo">
|
33 |
-
</p>
|
34 |
-
|
35 |
-
You can choose period, composer, and instrumentation as a prompt combination for NotaGen's conditional generation. After generation completes, you can save the ABC notation and MusicXML files locally.
|
36 |
-
|
37 |
-
It is with some regret that the current combination of prompts is limited to 112, which is constrained by the number of pieces of music under each prompt in the fine-tuning dataset. We hope to expand the combinations and forms of prompts in the future.
|
|
|
1 |
---
|
2 |
+
title: StarVecto
|
3 |
sdk: gradio
|
4 |
pinned: true
|
5 |
+
sdk_version: 5.22.0
|
6 |
+
emoji: ⭐
|
7 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|