fffiloni commited on
Commit
7b5386c
β€’
1 Parent(s): 7396afd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
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
- manual_cap = gr.Textbox(label="Manual Image description (optional)", placeholder=ph_message)
84
- with gr.Row():
85
- duration_in = gr.Slider(minimum=5, maximum=10, step=5, value=5, label="Duration")
86
- #seed_in = gr.Number(label="Seed", value=45)
 
 
 
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