greg7025 commited on
Commit
9a37cbd
·
verified ·
1 Parent(s): 862c560

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -19,7 +19,10 @@ from PIL import Image
19
  def swap_face(source_file, target_file, doFaceEnhancer):
20
 
21
  source_path = "input.jpg"
22
- target_path = "target.jpg"
 
 
 
23
 
24
  source_image = Image.fromarray(source_file)
25
  source_image.save(source_path)
 
19
  def swap_face(source_file, target_file, doFaceEnhancer):
20
 
21
  source_path = "input.jpg"
22
+ target_path = "./image/target.jpg"
23
+
24
+ target_file.save(target_path)
25
+ print("target save")
26
 
27
  source_image = Image.fromarray(source_file)
28
  source_image.save(source_path)