jhj0517
commited on
Commit
·
37c77b9
1
Parent(s):
58f4366
Update parameter order
Browse files
modules/live_portrait/live_portrait_inferencer.py
CHANGED
@@ -248,9 +248,9 @@ class LivePortraitInferencer:
|
|
248 |
retargeting_eyes: float = 1,
|
249 |
retargeting_mouth: float = 1,
|
250 |
crop_factor: float = 2.3,
|
|
|
251 |
src_image: Optional[str] = None,
|
252 |
driving_vid_path: Optional[str] = None,
|
253 |
-
enable_image_restoration: bool = False,
|
254 |
progress: gr.Progress = gr.Progress()
|
255 |
):
|
256 |
if self.pipeline is None or model_type != self.model_type:
|
|
|
248 |
retargeting_eyes: float = 1,
|
249 |
retargeting_mouth: float = 1,
|
250 |
crop_factor: float = 2.3,
|
251 |
+
enable_image_restoration: bool = False,
|
252 |
src_image: Optional[str] = None,
|
253 |
driving_vid_path: Optional[str] = None,
|
|
|
254 |
progress: gr.Progress = gr.Progress()
|
255 |
):
|
256 |
if self.pipeline is None or model_type != self.model_type:
|