Pie31415 commited on
Commit
f5e4df7
1 Parent(s): 62186f8

Update webui/app_control_animation.py

Browse files
Files changed (1) hide show
  1. webui/app_control_animation.py +2 -2
webui/app_control_animation.py CHANGED
@@ -140,7 +140,7 @@ def create_demo(model: ControlAnimationModel):
140
  ("__assets__/dance4.gif", "Motion 4"),
141
  ("__assets__/dance5.gif", "Motion 5"),
142
  ],
143
- ).style(grid=[2], columns=[2], rows=[2], object_fit="contain", height="auto")
144
  input_video_path = gr.Textbox(
145
  label="Pose Sequence", visible=False, value="Motion 1"
146
  )
@@ -149,7 +149,7 @@ def create_demo(model: ControlAnimationModel):
149
  with gr.Column(visible=True) as frame_selection_view:
150
  initial_frames = gr.Gallery(
151
  label="Initial Frames", show_label=False
152
- ).style(columns=4, object_fit="contain", preview=True)
153
 
154
  gr.Markdown("Select an initial frame to start your animation with.")
155
  gen_animation_button = gr.Button(
 
140
  ("__assets__/dance4.gif", "Motion 4"),
141
  ("__assets__/dance5.gif", "Motion 5"),
142
  ],
143
+ ).style(grid=3, columns=3, rows=1, object_fit="contain", height="auto")
144
  input_video_path = gr.Textbox(
145
  label="Pose Sequence", visible=False, value="Motion 1"
146
  )
 
149
  with gr.Column(visible=True) as frame_selection_view:
150
  initial_frames = gr.Gallery(
151
  label="Initial Frames", show_label=False
152
+ ).style(grid=4, columns=4, rows=1, object_fit="contain", preview=True)
153
 
154
  gr.Markdown("Select an initial frame to start your animation with.")
155
  gen_animation_button = gr.Button(