Akjava commited on
Commit
344fffb
1 Parent(s): 0c03a70

remove print

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -63,7 +63,7 @@ def process_images(image, image2=None,prompt="a girl",inpaint_model="black-fores
63
  #print("start-process-images")
64
  if not isinstance(image, dict):
65
  if image2 == None:
66
- print("empty mask")
67
  return image,None
68
  else:
69
  image = dict({'background': image, 'layers': [image2]})
@@ -73,9 +73,9 @@ def process_images(image, image2=None,prompt="a girl",inpaint_model="black-fores
73
  mask = image2
74
  else:
75
  if len(image['layers']) == 0:
76
- print("empty mask")
77
  return image
78
- print("use layer")
79
  mask = image['layers'][0]
80
 
81
 
 
63
  #print("start-process-images")
64
  if not isinstance(image, dict):
65
  if image2 == None:
66
+ #print("empty mask")
67
  return image,None
68
  else:
69
  image = dict({'background': image, 'layers': [image2]})
 
73
  mask = image2
74
  else:
75
  if len(image['layers']) == 0:
76
+ #print("empty mask")
77
  return image
78
+ #print("use layer")
79
  mask = image['layers'][0]
80
 
81