Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,9 +14,8 @@ def inference(audio):
|
|
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 |
gr.Interface(
|
17 |
-
inference,
|
18 |
-
gr.inputs.File(type="file", label="Input"),
|
19 |
-
[gr.outputs.Audio(type="
|
20 |
-
article=article,
|
21 |
-
|
22 |
-
).launch(debug=True)
|
|
|
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 |
gr.Interface(
|
17 |
+
fn = inference,
|
18 |
+
inputs = gr.inputs.File(type="file", label="Input"),
|
19 |
+
outputs = [gr.outputs.Audio(type="file", label="Output")],
|
20 |
+
article = article,
|
21 |
+
).launch()
|
|