Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -232,6 +232,15 @@ with gr.Blocks(css=css) as demo:
|
|
232 |
gr.Markdown("# MimicMotion")
|
233 |
with gr.Row():
|
234 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
if is_shared_ui:
|
236 |
top_description = gr.HTML(f'''
|
237 |
<div class="gr-prose">
|
@@ -259,15 +268,6 @@ with gr.Blocks(css=css) as demo:
|
|
259 |
</p>
|
260 |
</div>
|
261 |
''', elem_id="warning-ready")
|
262 |
-
with gr.Row():
|
263 |
-
ref_image_in = gr.Image(label="Person Image Reference", type="filepath")
|
264 |
-
ref_video_in = gr.Video(label="Person Video Reference")
|
265 |
-
with gr.Accordion("Advanced Settings", open=False):
|
266 |
-
num_inference_steps = gr.Slider(label="num inference steps", minimum=12, maximum=50, value=25, step=1, interactive=available_property)
|
267 |
-
guidance_scale = gr.Slider(label="guidance scale", minimum=0.1, maximum=10, value=2, step=0.1, interactive=available_property)
|
268 |
-
output_frames_per_second = gr.Slider(label="fps", minimum=1, maximum=60, value=16, step=1, interactive=available_property)
|
269 |
-
seed = gr.Number(label="Seed", value=42, interactive=available_property)
|
270 |
-
submit_btn = gr.Button("Submit", interactive=available_property)
|
271 |
gr.Examples(
|
272 |
examples = [
|
273 |
["./examples/demo1.jpg", "./examples/preview_1.mp4"]
|
|
|
232 |
gr.Markdown("# MimicMotion")
|
233 |
with gr.Row():
|
234 |
with gr.Column():
|
235 |
+
with gr.Row():
|
236 |
+
ref_image_in = gr.Image(label="Person Image Reference", type="filepath")
|
237 |
+
ref_video_in = gr.Video(label="Person Video Reference")
|
238 |
+
with gr.Accordion("Advanced Settings", open=False):
|
239 |
+
num_inference_steps = gr.Slider(label="num inference steps", minimum=12, maximum=50, value=25, step=1, interactive=available_property)
|
240 |
+
guidance_scale = gr.Slider(label="guidance scale", minimum=0.1, maximum=10, value=2, step=0.1, interactive=available_property)
|
241 |
+
output_frames_per_second = gr.Slider(label="fps", minimum=1, maximum=60, value=16, step=1, interactive=available_property)
|
242 |
+
seed = gr.Number(label="Seed", value=42, interactive=available_property)
|
243 |
+
submit_btn = gr.Button("Submit", interactive=available_property)
|
244 |
if is_shared_ui:
|
245 |
top_description = gr.HTML(f'''
|
246 |
<div class="gr-prose">
|
|
|
268 |
</p>
|
269 |
</div>
|
270 |
''', elem_id="warning-ready")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
271 |
gr.Examples(
|
272 |
examples = [
|
273 |
["./examples/demo1.jpg", "./examples/preview_1.mp4"]
|