selfitcamera commited on
Commit
2375767
1 Parent(s): ad38374
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def onUpload():
30
 
31
  def onClick(cloth_id, pose_image, pose_id, size, request: gr.Request):
32
  if pose_image is None:
33
- return None, "no pose image found !"
34
  # pose_id, cloth_id = pose_id['label'], cloth_id['label']
35
  # print(pose_id, cloth_id, size, (pose_image is None), len(pose_id)>0)
36
  if len(pose_id)>0:
 
30
 
31
  def onClick(cloth_id, pose_image, pose_id, size, request: gr.Request):
32
  if pose_image is None:
33
+ return None, "no pose image found !", ""
34
  # pose_id, cloth_id = pose_id['label'], cloth_id['label']
35
  # print(pose_id, cloth_id, size, (pose_image is None), len(pose_id)>0)
36
  if len(pose_id)>0: