Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
83 |
-
|
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 |
|