Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
adfb568
1
Parent(s):
95675e7
Update app.py
Browse files
app.py
CHANGED
@@ -214,7 +214,7 @@ if __name__ == "__main__":
|
|
214 |
run_btn = gr.Button("generate", variant="primary")
|
215 |
|
216 |
output_midi_seq = gr.Variable()
|
217 |
-
output_audio = gr.Audio(label="output audio", format="mp3", elem_id="midi_audio")
|
218 |
output_plot = gr.Plot(label="output plot")
|
219 |
output_midi = gr.File(label="output midi", file_types=[".mid"])
|
220 |
run_event = run_btn.click(GenerateMIDI, [input_num_tokens, input_drums, input_instrument], [output_midi_seq, output_plot, output_midi, output_audio])
|
|
|
214 |
run_btn = gr.Button("generate", variant="primary")
|
215 |
|
216 |
output_midi_seq = gr.Variable()
|
217 |
+
output_audio = gr.Audio(label="output audio", format="mp3", elem_id="midi_audio", show_download_button=True)
|
218 |
output_plot = gr.Plot(label="output plot")
|
219 |
output_midi = gr.File(label="output midi", file_types=[".mid"])
|
220 |
run_event = run_btn.click(GenerateMIDI, [input_num_tokens, input_drums, input_instrument], [output_midi_seq, output_plot, output_midi, output_audio])
|