jhj0517 commited on
Commit
4cbf87a
1 Parent(s): f878f1b

Handle no image case

Browse files
modules/live_portrait/live_portrait_inferencer.py CHANGED
@@ -154,7 +154,7 @@ class LivePortraitInferencer:
154
  new_editor_link = []
155
  new_editor_link.append(self.psi)
156
  else:
157
- return None, None
158
 
159
  psi = self.psi
160
  s_info = psi.x_s_info
 
154
  new_editor_link = []
155
  new_editor_link.append(self.psi)
156
  else:
157
+ return None
158
 
159
  psi = self.psi
160
  s_info = psi.x_s_info