lukewys commited on
Commit
4aa1416
β€’
1 Parent(s): 2f0af50

Add application file

Browse files
Files changed (2) hide show
  1. app.py +3 -3
  2. input.mid β†’ ode_to_joy.mid +0 -0
app.py CHANGED
@@ -8,12 +8,12 @@ def inference(audio):
8
  os.system("midi_ddsp_synthesize --midi_path "+audio.name)
9
  return f'./{Path(audio.name).stem}/mix.wav'
10
 
11
- title = "Midi-DDSP"
12
- description = "Gradio demo for MIDI-DDSP: Detailed Control of Musical Performance via Hierarchical Modeling. To use it, simply upload your midi file, or click one of the examples to load them. Read more at the links below."
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,
 
8
  os.system("midi_ddsp_synthesize --midi_path "+audio.name)
9
  return f'./{Path(audio.name).stem}/mix.wav'
10
 
11
+ title = "MIDI-DDSP"
12
+ description = "Gradio demo for MIDI-DDSP: Detailed Control of Musical Performance via Hierarchical Modeling. To use it, simply upload your midi file, or click one of the examples to load them. Read more at the links below. Adapted from huggingface space by akhaliq/midi-ddsp."
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=[['ode_to_joy.mid']]
17
 
18
  gr.Interface(
19
  inference,
input.mid β†’ ode_to_joy.mid RENAMED
File without changes