jhj0517
commited on
Commit
·
6cc808c
1
Parent(s):
aacd579
Update defaults
Browse files
modules/live_portrait/live_portrait_inferencer.py
CHANGED
@@ -160,7 +160,7 @@ class LivePortraitInferencer:
|
|
160 |
src_ratio: float = 1,
|
161 |
sample_ratio: float = 1,
|
162 |
sample_parts: str = SamplePart.ALL.value,
|
163 |
-
crop_factor: float =
|
164 |
src_image: Optional[str] = None,
|
165 |
sample_image: Optional[str] = None,
|
166 |
motion_link: Optional[str] = None,
|
@@ -253,9 +253,9 @@ class LivePortraitInferencer:
|
|
253 |
|
254 |
def create_video(self,
|
255 |
model_type: str = ModelType.HUMAN.value,
|
256 |
-
retargeting_eyes: float =
|
257 |
-
retargeting_mouth: float =
|
258 |
-
crop_factor: float =
|
259 |
src_image: Optional[str] = None,
|
260 |
driving_vid_path: Optional[str] = None,
|
261 |
progress: gr.Progress = gr.Progress()
|
|
|
160 |
src_ratio: float = 1,
|
161 |
sample_ratio: float = 1,
|
162 |
sample_parts: str = SamplePart.ALL.value,
|
163 |
+
crop_factor: float = 2.3,
|
164 |
src_image: Optional[str] = None,
|
165 |
sample_image: Optional[str] = None,
|
166 |
motion_link: Optional[str] = None,
|
|
|
253 |
|
254 |
def create_video(self,
|
255 |
model_type: str = ModelType.HUMAN.value,
|
256 |
+
retargeting_eyes: float = 1,
|
257 |
+
retargeting_mouth: float = 1,
|
258 |
+
crop_factor: float = 2.3,
|
259 |
src_image: Optional[str] = None,
|
260 |
driving_vid_path: Optional[str] = None,
|
261 |
progress: gr.Progress = gr.Progress()
|