Spaces:
Runtime error
Runtime error
Commit
·
6f50cae
1
Parent(s):
69e9911
update
Browse files- app.py +7 -7
- requirements.txt +2 -1
app.py
CHANGED
|
@@ -133,13 +133,13 @@ with gr.Blocks() as demo:
|
|
| 133 |
with gr.Column():
|
| 134 |
gr.Markdown("## Examples")
|
| 135 |
gr.Examples(
|
| 136 |
-
examples=[["
|
| 137 |
-
["
|
| 138 |
-
["
|
| 139 |
-
["
|
| 140 |
-
["
|
| 141 |
-
["
|
| 142 |
-
["
|
| 143 |
],
|
| 144 |
inputs=[midi_file, chord_progression, tempo, temperature, nb_tokens, bar_range],
|
| 145 |
outputs=[generated_music, generated_midi, info_message],
|
|
|
|
| 133 |
with gr.Column():
|
| 134 |
gr.Markdown("## Examples")
|
| 135 |
gr.Examples(
|
| 136 |
+
examples=[[os.path.abspath("bach_847.mid"), "", 120, 0.95, 512, "0-4"],
|
| 137 |
+
[os.path.abspath("bach_847.mid"), "Cm C7/E Fm F#dim G7", 120, 0.95, 512, "0-4"],
|
| 138 |
+
[os.path.abspath("boney_m_ma_baker.mid"), "", 120, 0.95, 512, "0-4"],
|
| 139 |
+
[os.path.abspath("eminem_slim_shady.mid"), "Cm AbM BbM G7 Cm", 120, 0.95, 512, "0-4"],
|
| 140 |
+
[os.path.abspath("mozart_alla_turca.mid"), "", 120, 0.95, 512, "0-4"],
|
| 141 |
+
[os.path.abspath("mozart_alla_turca.mid"), "Am Em CM G7 E7 Am Am E7 Am", 120, 0.95, 512, "0-4"],
|
| 142 |
+
[os.path.abspath("daft_punk_around_the_world.mid"), "", 120, 0.95, 512, "0-4"],
|
| 143 |
],
|
| 144 |
inputs=[midi_file, chord_progression, tempo, temperature, nb_tokens, bar_range],
|
| 145 |
outputs=[generated_music, generated_midi, info_message],
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
musiclang_predict==1.1.5
|
| 2 |
pyFluidSynth
|
| 3 |
-
midi2audio
|
|
|
|
|
|
| 1 |
musiclang_predict==1.1.5
|
| 2 |
pyFluidSynth
|
| 3 |
+
midi2audio
|
| 4 |
+
gradio
|