mirror of
https://github.com/KwaiVGI/LivePortrait.git
synced 2025-03-15 05:52:58 +00:00
chore: update
This commit is contained in:
parent
219338a611
commit
c3dfef7cbf
3
app.py
3
app.py
@ -55,6 +55,7 @@ if args.gradio_temp_dir not in (None, ''):
|
||||
os.environ["GRADIO_TEMP_DIR"] = args.gradio_temp_dir
|
||||
os.makedirs(args.gradio_temp_dir, exist_ok=True)
|
||||
|
||||
|
||||
def gpu_wrapped_execute_video(*args, **kwargs):
|
||||
return gradio_pipeline.execute_video(*args, **kwargs)
|
||||
|
||||
@ -62,9 +63,11 @@ def gpu_wrapped_execute_video(*args, **kwargs):
|
||||
def gpu_wrapped_execute_image_retargeting(*args, **kwargs):
|
||||
return gradio_pipeline.execute_image_retargeting(*args, **kwargs)
|
||||
|
||||
|
||||
def gpu_wrapped_execute_video_retargeting(*args, **kwargs):
|
||||
return gradio_pipeline.execute_video_retargeting(*args, **kwargs)
|
||||
|
||||
|
||||
def reset_sliders(*args, **kwargs):
|
||||
return 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2.5, True, True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user