Spaces:
Running
on
Zero
Running
on
Zero
chore: update error info
Browse files- src/gradio_pipeline.py +1 -1
src/gradio_pipeline.py
CHANGED
@@ -53,7 +53,7 @@ class GradioPipeline(LivePortraitPipeline):
|
|
53 |
# gr.Info("Run successfully!", duration=2)
|
54 |
return video_path, video_path_concat,
|
55 |
else:
|
56 |
-
raise gr.Error("
|
57 |
|
58 |
def execute_image(self, input_eye_ratio: float, input_lip_ratio: float, input_image, flag_do_crop = True):
|
59 |
""" for single image retargeting
|
|
|
53 |
# gr.Info("Run successfully!", duration=2)
|
54 |
return video_path, video_path_concat,
|
55 |
else:
|
56 |
+
raise gr.Error("Please upload the source portrait and driving video 🤗🤗🤗", duration=5)
|
57 |
|
58 |
def execute_image(self, input_eye_ratio: float, input_lip_ratio: float, input_image, flag_do_crop = True):
|
59 |
""" for single image retargeting
|