Spaces:
Running
on
Zero
Running
on
Zero
chore: update monkey
Browse files- .gitattributes +1 -0
- app.py +4 -1
- assets/examples/source/s22.jpg +3 -0
.gitattributes
CHANGED
@@ -55,3 +55,4 @@ assets/examples/driving/d15.mp4 filter=lfs diff=lfs merge=lfs -text
|
|
55 |
assets/examples/driving/d16.mp4 filter=lfs diff=lfs merge=lfs -text
|
56 |
assets/examples/driving/d18.mp4 filter=lfs diff=lfs merge=lfs -text
|
57 |
assets/examples/driving/d19.mp4 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
55 |
assets/examples/driving/d16.mp4 filter=lfs diff=lfs merge=lfs -text
|
56 |
assets/examples/driving/d18.mp4 filter=lfs diff=lfs merge=lfs -text
|
57 |
assets/examples/driving/d19.mp4 filter=lfs diff=lfs merge=lfs -text
|
58 |
+
assets/examples/source/s22.jpg filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -66,6 +66,7 @@ data_examples = [
|
|
66 |
[osp.join(example_portrait_dir, "s10.jpg"), osp.join(example_video_dir, "d0.mp4"), True, True, True, True],
|
67 |
[osp.join(example_portrait_dir, "s5.jpg"), osp.join(example_video_dir, "d18.mp4"), True, True, True, True],
|
68 |
[osp.join(example_portrait_dir, "s7.jpg"), osp.join(example_video_dir, "d19.mp4"), True, True, True, True],
|
|
|
69 |
]
|
70 |
#################### interface logic ####################
|
71 |
|
@@ -92,6 +93,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
92 |
[osp.join(example_portrait_dir, "s5.jpg")],
|
93 |
[osp.join(example_portrait_dir, "s7.jpg")],
|
94 |
[osp.join(example_portrait_dir, "s12.jpg")],
|
|
|
95 |
],
|
96 |
inputs=[image_input],
|
97 |
cache_examples=False,
|
@@ -144,7 +146,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
144 |
flag_remap_input
|
145 |
],
|
146 |
outputs=[output_image, output_image_paste_back],
|
147 |
-
examples_per_page=
|
148 |
cache_examples=False,
|
149 |
)
|
150 |
gr.Markdown(load_description("assets/gradio_description_retargeting.md"), visible=True)
|
@@ -175,6 +177,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
175 |
[osp.join(example_portrait_dir, "s5.jpg")],
|
176 |
[osp.join(example_portrait_dir, "s7.jpg")],
|
177 |
[osp.join(example_portrait_dir, "s12.jpg")],
|
|
|
178 |
],
|
179 |
inputs=[retargeting_input_image],
|
180 |
cache_examples=False,
|
|
|
66 |
[osp.join(example_portrait_dir, "s10.jpg"), osp.join(example_video_dir, "d0.mp4"), True, True, True, True],
|
67 |
[osp.join(example_portrait_dir, "s5.jpg"), osp.join(example_video_dir, "d18.mp4"), True, True, True, True],
|
68 |
[osp.join(example_portrait_dir, "s7.jpg"), osp.join(example_video_dir, "d19.mp4"), True, True, True, True],
|
69 |
+
[osp.join(example_portrait_dir, "s22.jpg"), osp.join(example_video_dir, "d0.mp4"), True, True, True, True],
|
70 |
]
|
71 |
#################### interface logic ####################
|
72 |
|
|
|
93 |
[osp.join(example_portrait_dir, "s5.jpg")],
|
94 |
[osp.join(example_portrait_dir, "s7.jpg")],
|
95 |
[osp.join(example_portrait_dir, "s12.jpg")],
|
96 |
+
[osp.join(example_portrait_dir, "s22.jpg")],
|
97 |
],
|
98 |
inputs=[image_input],
|
99 |
cache_examples=False,
|
|
|
146 |
flag_remap_input
|
147 |
],
|
148 |
outputs=[output_image, output_image_paste_back],
|
149 |
+
examples_per_page=6,
|
150 |
cache_examples=False,
|
151 |
)
|
152 |
gr.Markdown(load_description("assets/gradio_description_retargeting.md"), visible=True)
|
|
|
177 |
[osp.join(example_portrait_dir, "s5.jpg")],
|
178 |
[osp.join(example_portrait_dir, "s7.jpg")],
|
179 |
[osp.join(example_portrait_dir, "s12.jpg")],
|
180 |
+
[osp.join(example_portrait_dir, "s22.jpg")],
|
181 |
],
|
182 |
inputs=[retargeting_input_image],
|
183 |
cache_examples=False,
|
assets/examples/source/s22.jpg
ADDED
Git LFS Details
|