Spaces:
Build error
Build error
Update webui/app_control_animation.py
Browse files
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=
|
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(
|