jadechoghari commited on
Commit
b04d2d9
1 Parent(s): a3e81ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def generate_waveform(description):
33
  iface = gr.Interface(
34
  fn=generate_waveform,
35
  inputs=gr.Textbox(lines=2, placeholder="Enter a music description here..."), # Text input for description
36
- outputs=gr.outputs.File(label="Download Generated WAV file"), # File output for download
37
  title="Flux Music Diffusion Pipeline",
38
  description="Enter a music description, and the model will generate a corresponding audio waveform. Download the output as 'awesome.wav'."
39
  )
 
33
  iface = gr.Interface(
34
  fn=generate_waveform,
35
  inputs=gr.Textbox(lines=2, placeholder="Enter a music description here..."), # Text input for description
36
+ outputs=gr.Audio(type="file", label="Download the Music 🎼"), # File output for download
37
  title="Flux Music Diffusion Pipeline",
38
  description="Enter a music description, and the model will generate a corresponding audio waveform. Download the output as 'awesome.wav'."
39
  )