Spaces:
Runtime error
Runtime error
Update src/gradio_pipeline.py
Browse files- src/gradio_pipeline.py +0 -5
src/gradio_pipeline.py
CHANGED
|
@@ -34,12 +34,7 @@ class GradioPipeline(LivePortraitPipeline):
|
|
| 34 |
flag_relative_input,
|
| 35 |
flag_do_crop_input,
|
| 36 |
flag_remap_input,
|
| 37 |
-
flag_closed_lip_input
|
| 38 |
):
|
| 39 |
-
|
| 40 |
-
# Add for closed lip
|
| 41 |
-
if flag_closed_lip_input:
|
| 42 |
-
self.init_retargeting_image(self, retargeting_source_scale=2.5, input_image = input_image_path)
|
| 43 |
|
| 44 |
""" for video driven potrait animation
|
| 45 |
"""
|
|
|
|
| 34 |
flag_relative_input,
|
| 35 |
flag_do_crop_input,
|
| 36 |
flag_remap_input,
|
|
|
|
| 37 |
):
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
""" for video driven potrait animation
|
| 40 |
"""
|