Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -155,14 +155,14 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
|
155 |
show_label=True,
|
156 |
max_lines=2,
|
157 |
placeholder="Describe the sound you want to generate",
|
158 |
-
value="
|
159 |
scale=4
|
160 |
)
|
161 |
# Button to generate the audio
|
162 |
generate_button = gr.Button("Generate")
|
163 |
|
164 |
# Audio input to use as base
|
165 |
-
audio_file_input = gr.Audio(label="Upload Reference Audio (less than 10s)", value='
|
166 |
|
167 |
# Output Component for the generated audio
|
168 |
generated_audio_output = gr.Audio(label="Generated Audio", type="numpy")
|
|
|
155 |
show_label=True,
|
156 |
max_lines=2,
|
157 |
placeholder="Describe the sound you want to generate",
|
158 |
+
value="Truck honking on the street",
|
159 |
scale=4
|
160 |
)
|
161 |
# Button to generate the audio
|
162 |
generate_button = gr.Button("Generate")
|
163 |
|
164 |
# Audio input to use as base
|
165 |
+
audio_file_input = gr.Audio(label="Upload Reference Audio (less than 10s)", value='reference3.mp3', type="filepath")
|
166 |
|
167 |
# Output Component for the generated audio
|
168 |
generated_audio_output = gr.Audio(label="Generated Audio", type="numpy")
|