multimodalart HF staff commited on
Commit
518583e
1 Parent(s): 90204ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -134,7 +134,7 @@ intro = """
134
  </p>
135
  """
136
  css='''
137
- #strip, #video{max-height: 512px; min-height: 65px}
138
  #strip img{object-fit: cover}
139
  .gradio-container{max-width: 1050px !important}
140
  '''
@@ -166,9 +166,9 @@ with gr.Blocks(css=css) as demo:
166
  post_generation_image = gr.Image(label="Generated Images", type="filepath", elem_id="interactive")
167
  post_generation_slider = gr.Slider(minimum=-10, maximum=10, value=0, step=1, label="From 1st to 2nd direction")
168
  with gr.Row():
169
- with gr.Column(scale=3):
170
  image_seq = gr.Image(label="Strip", elem_id="strip", height=65)
171
- with gr.Column(scale=2):
172
  output_image = gr.Video(label="Looping video", elem_id="video", loop=True, autoplay=True)
173
  with gr.Accordion(label="Advanced options", open=False):
174
  interm_steps = gr.Slider(label = "Num of intermediate images", minimum=3, value=7, maximum=65, step=2)
 
134
  </p>
135
  """
136
  css='''
137
+ #strip, #video{max-height: 128px; min-height: 65px}
138
  #strip img{object-fit: cover}
139
  .gradio-container{max-width: 1050px !important}
140
  '''
 
166
  post_generation_image = gr.Image(label="Generated Images", type="filepath", elem_id="interactive")
167
  post_generation_slider = gr.Slider(minimum=-10, maximum=10, value=0, step=1, label="From 1st to 2nd direction")
168
  with gr.Row():
169
+ with gr.Column(scale=4):
170
  image_seq = gr.Image(label="Strip", elem_id="strip", height=65)
171
+ with gr.Column(scale=2, min_width=100):
172
  output_image = gr.Video(label="Looping video", elem_id="video", loop=True, autoplay=True)
173
  with gr.Accordion(label="Advanced options", open=False):
174
  interm_steps = gr.Slider(label = "Num of intermediate images", minimum=3, value=7, maximum=65, step=2)