Spaces:
Running
on
Zero
Running
on
Zero
jadechoghari
commited on
Commit
•
a3e81ca
1
Parent(s):
002210a
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def generate_waveform(description):
|
|
32 |
# gradio interface
|
33 |
iface = gr.Interface(
|
34 |
fn=generate_waveform,
|
35 |
-
inputs=gr.
|
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'."
|
|
|
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.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'."
|