cleardusk commited on
Commit
3ce1c1a
1 Parent(s): b165f35

chore: update monkey

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. app.py +4 -1
  3. 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=5,
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

  • SHA256: 113d76fe4c3693916cde74e0f1250b516a9ea6b679c28cbd910b46a6c090cc62
  • Pointer size: 131 Bytes
  • Size of remote file: 159 kB