mirror of
https://github.com/KwaiVGI/LivePortrait.git
synced 2024-12-22 20:42:38 +00:00
parent
de88675006
commit
abcf7204dd
@ -69,7 +69,7 @@ class GradioPipeline(LivePortraitPipeline):
|
|||||||
def execute_image(self, input_eye_ratio: float, input_lip_ratio: float):
|
def execute_image(self, input_eye_ratio: float, input_lip_ratio: float):
|
||||||
""" for single image retargeting
|
""" for single image retargeting
|
||||||
"""
|
"""
|
||||||
if input_eye_ratio is None or input_eye_ratio is None:
|
if input_eye_ratio is None or input_lip_ratio is None:
|
||||||
raise gr.Error("Invalid ratio input 💥!", duration=5)
|
raise gr.Error("Invalid ratio input 💥!", duration=5)
|
||||||
elif self.f_s_user is None:
|
elif self.f_s_user is None:
|
||||||
if self.start_prepare:
|
if self.start_prepare:
|
||||||
|
Loading…
Reference in New Issue
Block a user