Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
77 |
|
78 |
input_img = gr.Image(type="filepath", elem_id="input-img")
|
79 |
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 :)")
|
80 |
-
duration_in = gr.Slider(minimum=
|
81 |
caption_output = gr.Textbox(label="Caption", visible=False, elem_id="text-caption")
|
82 |
sound_output = gr.Audio(label="Result", elem_id="sound-output")
|
83 |
|
|
|
77 |
|
78 |
input_img = gr.Image(type="filepath", elem_id="input-img")
|
79 |
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 :)")
|
80 |
+
duration_in = gr.Slider(minimum=5, maximum=30, step=5, value=10, label="Duration")
|
81 |
caption_output = gr.Textbox(label="Caption", visible=False, elem_id="text-caption")
|
82 |
sound_output = gr.Audio(label="Result", elem_id="sound-output")
|
83 |
|