Update app.py
Browse files
app.py
CHANGED
@@ -80,10 +80,13 @@ with gr.Blocks(css="style.css") as demo:
|
|
80 |
gr.HTML(title)
|
81 |
|
82 |
input_img = gr.Image(type="filepath", elem_id="input-img")
|
83 |
-
|
84 |
-
with gr.
|
85 |
-
|
86 |
-
|
|
|
|
|
|
|
87 |
caption_output = gr.Textbox(label="Caption", visible=False, elem_id="text-caption")
|
88 |
sound_output = gr.Audio(label="Result", elem_id="sound-output")
|
89 |
|
|
|
80 |
gr.HTML(title)
|
81 |
|
82 |
input_img = gr.Image(type="filepath", elem_id="input-img")
|
83 |
+
|
84 |
+
with gr.Group():
|
85 |
+
with gr.Column():
|
86 |
+
manual_cap = gr.Textbox(label="Manual Image description (optional)", lines=3, placeholder=ph_message)
|
87 |
+
with gr.Row():
|
88 |
+
duration_in = gr.Slider(minimum=5, maximum=10, step=5, value=5, label="Duration")
|
89 |
+
#seed_in = gr.Number(label="Seed", value=45)
|
90 |
caption_output = gr.Textbox(label="Caption", visible=False, elem_id="text-caption")
|
91 |
sound_output = gr.Audio(label="Result", elem_id="sound-output")
|
92 |
|