Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -212,7 +212,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
212 |
audio_input = gr.Audio(source="upload", type="filepath", visible=False)
|
213 |
with gr.Row():
|
214 |
negative_prompt = gr.Textbox(label="Negative prompt")
|
215 |
-
duration_input = gr.Slider(label="Duration in seconds", minimum=5, maximum=60, step=
|
216 |
|
217 |
send_btn = gr.Button(value="Get a new spectrogram ! ", elem_id="submit-btn")
|
218 |
|
|
|
212 |
audio_input = gr.Audio(source="upload", type="filepath", visible=False)
|
213 |
with gr.Row():
|
214 |
negative_prompt = gr.Textbox(label="Negative prompt")
|
215 |
+
duration_input = gr.Slider(label="Duration in seconds", minimum=5, maximum=60, step=5, value=8, elem_id="duration-slider")
|
216 |
|
217 |
send_btn = gr.Button(value="Get a new spectrogram ! ", elem_id="submit-btn")
|
218 |
|