Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -194,15 +194,16 @@ with gr.Blocks(css=css) as demo:
|
|
| 194 |
num_mix = gr.Number(value=4, label="Number of Mix")
|
| 195 |
ddim_steps = gr.Number(value=30, label="DDIM Steps")
|
| 196 |
submit_btn = gr.Button("Submit")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 197 |
gr.Examples(
|
| 198 |
examples=[
|
| 199 |
-
["./assets/source_image.png", "./assets/driving_video.mp4"]
|
| 200 |
],
|
| 201 |
-
inputs=[source_image, driving_video]
|
| 202 |
)
|
| 203 |
-
with gr.Column():
|
| 204 |
-
video_output = gr.Video(label="Output Video")
|
| 205 |
-
status = gr.Textbox(label="status")
|
| 206 |
|
| 207 |
gr.HTML("""
|
| 208 |
<div style="display:flex;column-gap:4px;">
|
|
|
|
| 194 |
num_mix = gr.Number(value=4, label="Number of Mix")
|
| 195 |
ddim_steps = gr.Number(value=30, label="DDIM Steps")
|
| 196 |
submit_btn = gr.Button("Submit")
|
| 197 |
+
|
| 198 |
+
with gr.Column():
|
| 199 |
+
video_output = gr.Video(label="Output Video")
|
| 200 |
+
status = gr.Textbox(label="status")
|
| 201 |
gr.Examples(
|
| 202 |
examples=[
|
| 203 |
+
["./assets/source_image.png", "./assets/driving_video.mp4", "./assets/inference_result.mp4"]
|
| 204 |
],
|
| 205 |
+
inputs=[source_image, driving_video, video_output]
|
| 206 |
)
|
|
|
|
|
|
|
|
|
|
| 207 |
|
| 208 |
gr.HTML("""
|
| 209 |
<div style="display:flex;column-gap:4px;">
|