jadechoghari commited on
Commit
97a0727
1 Parent(s): b04d2d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,8 +32,8 @@ def generate_waveform(description):
32
  # gradio interface
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
  )
 
32
  # gradio interface
33
  iface = gr.Interface(
34
  fn=generate_waveform,
35
+ inputs=gr.Textbox(lines=2, placeholder="Enter a music description here..."),
36
+ outputs=gr.Audio(label="Download the Music 🎼"),
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
  )