Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ import os
|
|
17 |
def swap_face(source_file, target_file):
|
18 |
source_image = Image.fromarray(source_file)
|
19 |
source_path = "input.jpg"
|
20 |
-
source_image.save(source_path, format="JPEG", quality=
|
21 |
|
22 |
|
23 |
output_path = "output.mp4"
|
|
|
17 |
def swap_face(source_file, target_file):
|
18 |
source_image = Image.fromarray(source_file)
|
19 |
source_path = "input.jpg"
|
20 |
+
source_image.save(source_path, format="JPEG", quality=50)
|
21 |
|
22 |
|
23 |
output_path = "output.mp4"
|