Spaces:
Sleeping
Sleeping
thecollabagepatch
commited on
Commit
•
dc90328
1
Parent(s):
bd9caa9
gr.Variable didnt exist homie
Browse files
app.py
CHANGED
@@ -240,7 +240,6 @@ with gr.Blocks() as iface:
|
|
240 |
generate_music_button = gr.Button("Generate Music")
|
241 |
output_audio = gr.Audio(label="Generated Music")
|
242 |
|
243 |
-
midi_result = gr.Variable()
|
244 |
|
245 |
generate_midi_button.click(generate_midi, inputs=[seed, use_chords, chord_progression, bpm], outputs=[midi_audio])
|
246 |
generate_music_button.click(generate_music, inputs=[midi_audio, prompt_duration, musicgen_model, num_iterations, bpm], outputs=output_audio)
|
|
|
240 |
generate_music_button = gr.Button("Generate Music")
|
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)
|