tonyassi commited on
Commit
36b4c93
·
verified ·
1 Parent(s): 6a89211

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -79,8 +79,8 @@ def greet(description,color,features,occasion,type_,face):
79
  cross_attention_kwargs={"scale": 1.0}
80
  ).images[0]
81
 
82
- #if(face != 'Normal'):
83
- # image = face_swap(face, image)
84
 
85
  return image
86
 
 
79
  cross_attention_kwargs={"scale": 1.0}
80
  ).images[0]
81
 
82
+ if(face != 'Normal'):
83
+ image = face_swap(face, image)
84
 
85
  return image
86