jhj0517 commited on
Commit
542db2f
·
1 Parent(s): 75884c8

Remove meaningless param

Browse files
app.py CHANGED
@@ -52,7 +52,6 @@ class App:
52
  value=ModelType.HUMAN.value),
53
  gr.Slider(label=_("Retargeting Eyes"), minimum=0, maximum=1, step=0.01, value=0),
54
  gr.Slider(label=_("Retargeting Mouth"), minimum=0, maximum=1, step=0.01, value=0),
55
- gr.Checkbox(label=_("Tracking Source Video"), value=False, visible=False),
56
  gr.Slider(label=_("Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=1.7),
57
  ]
58
 
 
52
  value=ModelType.HUMAN.value),
53
  gr.Slider(label=_("Retargeting Eyes"), minimum=0, maximum=1, step=0.01, value=0),
54
  gr.Slider(label=_("Retargeting Mouth"), minimum=0, maximum=1, step=0.01, value=0),
 
55
  gr.Slider(label=_("Crop Factor"), minimum=1.5, maximum=2.5, step=0.1, value=1.7),
56
  ]
57
 
modules/live_portrait/live_portrait_inferencer.py CHANGED
@@ -255,7 +255,6 @@ class LivePortraitInferencer:
255
  model_type: str = ModelType.HUMAN.value,
256
  retargeting_eyes: float = 0,
257
  retargeting_mouth: float = 0,
258
- tracking_src_vid: bool = False,
259
  crop_factor: float = 1.5,
260
  src_image: Optional[str] = None,
261
  driving_vid_path: Optional[str] = None,
 
255
  model_type: str = ModelType.HUMAN.value,
256
  retargeting_eyes: float = 0,
257
  retargeting_mouth: float = 0,
 
258
  crop_factor: float = 1.5,
259
  src_image: Optional[str] = None,
260
  driving_vid_path: Optional[str] = None,