thecollabagepatch commited on
Commit
2c5b1fe
1 Parent(s): dc90328
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -241,7 +241,7 @@ with gr.Blocks() as iface:
241
  output_audio = gr.Audio(label="Generated Music")
242
 
243
 
244
- generate_midi_button.click(generate_midi, inputs=[seed, use_chords, chord_progression, bpm], outputs=[midi_audio])
245
- generate_music_button.click(generate_music, inputs=[midi_audio, prompt_duration, musicgen_model, num_iterations, bpm], outputs=output_audio)
246
 
247
  iface.launch()
 
241
  output_audio = gr.Audio(label="Generated Music")
242
 
243
 
244
+ generate_midi_button.click(generate_midi, inputs=[seed, use_chords, chord_progression, bpm], outputs=[midi_audio])
245
+ generate_music_button.click(generate_music, inputs=[midi_audio, prompt_duration, musicgen_model, num_iterations, bpm], outputs=output_audio)
246
 
247
  iface.launch()