Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,9 +26,11 @@ def midi_ddsp_synth(instrument, midi_file):
|
|
26 |
instrument_id, output_dir='/tmp', pitch_offset=0, speed_rate=1)
|
27 |
return os.path.join('/tmp', os.path.basename(midi_file.name).replace('.mid', '.wav'))
|
28 |
|
29 |
-
title = "Midi-DDSP"
|
30 |
|
31 |
-
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2112.09312' target='_blank'>MIDI-DDSP: Detailed Control of Musical Performance via Hierarchical Modeling</a
|
|
|
|
|
32 |
|
33 |
gr.Interface(
|
34 |
fn = midi_ddsp_synth,
|
|
|
26 |
instrument_id, output_dir='/tmp', pitch_offset=0, speed_rate=1)
|
27 |
return os.path.join('/tmp', os.path.basename(midi_file.name).replace('.mid', '.wav'))
|
28 |
|
29 |
+
title = "Midi-DDSP Demo"
|
30 |
|
31 |
+
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2112.09312' target='_blank'>MIDI-DDSP: Detailed Control of Musical Performance via Hierarchical Modeling</a>\
|
32 |
+
| <a href='https://github.com/magenta/midi-ddsp' target='_blank'>Github Repo</a></p>\
|
33 |
+
| <a href='https://huggingface.co/spaces/lukewys/midi-ddsp' target='_blank'>Official Hugging Face Demo</a></p>"
|
34 |
|
35 |
gr.Interface(
|
36 |
fn = midi_ddsp_synth,
|