Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
76 |
|
77 |
input_img = gr.Image(type="filepath", elem_id="input-img")
|
78 |
manual_cap = gr.Textbox(label="Manual Image description (optional)", lines=2, placeholder="If you're not happy with sound result, you can manually describe the scene depicted in your image :)")
|
79 |
-
duration_in = gr.Slider(minimum=2, maximum=12, value=6, label="Duration")
|
80 |
caption_output = gr.Textbox(label="Caption", visible=False, elem_id="text-caption")
|
81 |
sound_output = gr.Audio(label="Result", elem_id="sound-output")
|
82 |
|
|
|
76 |
|
77 |
input_img = gr.Image(type="filepath", elem_id="input-img")
|
78 |
manual_cap = gr.Textbox(label="Manual Image description (optional)", lines=2, placeholder="If you're not happy with sound result, you can manually describe the scene depicted in your image :)")
|
79 |
+
duration_in = gr.Slider(minimum=2, maximum=12, step=1, value=6, label="Duration")
|
80 |
caption_output = gr.Textbox(label="Caption", visible=False, elem_id="text-caption")
|
81 |
sound_output = gr.Audio(label="Result", elem_id="sound-output")
|
82 |
|