G-Rost commited on
Commit
e879118
1 Parent(s): bb78e6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=95)
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"