Add application file
Browse files
app.py
CHANGED
@@ -13,12 +13,12 @@ description = "Gradio demo for MIDI-DDSP: Detailed Control of Musical Performanc
|
|
13 |
|
14 |
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> | <a href='https://github.com/magenta/midi-ddsp' target='_blank'>Github Repo</a></p>"
|
15 |
|
16 |
-
examples=['input.mid']
|
17 |
|
18 |
gr.Interface(
|
19 |
inference,
|
20 |
gr.inputs.File(type="file", label="Input"),
|
21 |
-
gr.outputs.Audio(type="file", label="Output"),
|
22 |
title=title,
|
23 |
description=description,
|
24 |
article=article,
|
|
|
13 |
|
14 |
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> | <a href='https://github.com/magenta/midi-ddsp' target='_blank'>Github Repo</a></p>"
|
15 |
|
16 |
+
examples=[['input.mid']]
|
17 |
|
18 |
gr.Interface(
|
19 |
inference,
|
20 |
gr.inputs.File(type="file", label="Input"),
|
21 |
+
[gr.outputs.Audio(type="file", label="Output")],
|
22 |
title=title,
|
23 |
description=description,
|
24 |
article=article,
|