thecollabagepatch commited on
Commit
0265de2
1 Parent(s): 3eec7a7

man we suck

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -250,6 +250,6 @@ with gr.Blocks() as iface:
250
  output_audio = gr.Audio(label="Generated Music")
251
 
252
  generate_midi_button.click(generate_midi, inputs=[seed, use_chords, chord_progression, bpm], outputs=midi_audio)
253
- generate_music_button.click(generate_music, inputs=[midi_audio[0], prompt_duration, musicgen_model, num_iterations, bpm], outputs=output_audio)
254
 
255
  iface.launch()
 
250
  output_audio = gr.Audio(label="Generated Music")
251
 
252
  generate_midi_button.click(generate_midi, inputs=[seed, use_chords, chord_progression, bpm], outputs=midi_audio)
253
+ generate_music_button.click(generate_music, inputs=[midi_audio, prompt_duration, musicgen_model, num_iterations, bpm], outputs=output_audio)
254
 
255
  iface.launch()