Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
2aed33b
1
Parent(s):
913899c
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
66 |
with gr.Accordion(open=True, label="Driving Video"):
|
67 |
video_input = gr.Video()
|
68 |
gr.Examples(
|
69 |
-
examples=[[osp.join(example_portrait_dir, "
|
70 |
inputs=[video_input],
|
71 |
cache_examples=False
|
72 |
)
|
@@ -102,10 +102,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
102 |
flag_do_crop_input,
|
103 |
flag_remap_input
|
104 |
],
|
105 |
-
outputs=[output_image, output_image_paste_back],
|
106 |
examples_per_page=5,
|
107 |
-
cache_examples="lazy",
|
108 |
-
fn=lambda *args: spaces.GPU()(gradio_pipeline.execute_video)(*args),
|
109 |
)
|
110 |
gr.Markdown(load_description("assets/gradio_description_retargeting.md"))
|
111 |
with gr.Row():
|
|
|
66 |
with gr.Accordion(open=True, label="Driving Video"):
|
67 |
video_input = gr.Video()
|
68 |
gr.Examples(
|
69 |
+
examples=[[osp.join(example_portrait_dir, "d0.mp4")], [osp.join(example_video_dir, "d5.mp4")], [osp.join(example_video_dir, "d6.mp4"), [osp.join(example_video_dir, "d7.mp4")]],
|
70 |
inputs=[video_input],
|
71 |
cache_examples=False
|
72 |
)
|
|
|
102 |
flag_do_crop_input,
|
103 |
flag_remap_input
|
104 |
],
|
105 |
+
#outputs=[output_image, output_image_paste_back],
|
106 |
examples_per_page=5,
|
107 |
+
#cache_examples="lazy",
|
108 |
+
#fn=lambda *args: spaces.GPU()(gradio_pipeline.execute_video)(*args),
|
109 |
)
|
110 |
gr.Markdown(load_description("assets/gradio_description_retargeting.md"))
|
111 |
with gr.Row():
|