cleardusk commited on
Commit
437577c
1 Parent(s): 48327e9

chore: update error info

Browse files
Files changed (1) hide show
  1. 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("The input source portrait or driving video hasn't been prepared yet 💥!", 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
 
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