Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,7 @@ def gen(piano_only, length):
|
|
17 |
mid.save(tmp.name)
|
18 |
yield midi, tmp.name
|
19 |
with gr.Blocks() as demo:
|
|
|
20 |
piano_only = gr.Checkbox(label="Piano Only")
|
21 |
length = gr.Slider(label="Length (in tokens)", minimum=4, maximum=4096, step=1, value=4096)
|
22 |
synth = gr.Button("Synthesize")
|
|
|
17 |
mid.save(tmp.name)
|
18 |
yield midi, tmp.name
|
19 |
with gr.Blocks() as demo:
|
20 |
+
gr.Markdown("# RWKV 4 Music (MIDI)\n\nThis demo uses the RWKV 4 MIDI model available [here](https://huggingface.co/BlinkDL/rwkv-4-music/blob/main/RWKV-4-MIDI-560M-v1-20230717-ctx4096.pth). Details may be found [here](https://huggingface.co/BlinkDL/rwkv-4-music). The music generation code may be found [here](https://github.com/BlinkDL/ChatRWKV/tree/main/music). The MIDI Tokenizer may be found [here](https://github.com/briansemrau/MIDI-LLM-tokenizer).")
|
21 |
piano_only = gr.Checkbox(label="Piano Only")
|
22 |
length = gr.Slider(label="Length (in tokens)", minimum=4, maximum=4096, step=1, value=4096)
|
23 |
synth = gr.Button("Synthesize")
|