AdityA36912355 commited on
Commit
15e42f0
·
verified ·
1 Parent(s): 157d472

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def swap_faces(source_image_path, target_image_path, enhance_face=True, enhance_
51
 
52
  run_cli(cli_args)
53
 
54
- return Image.open(output_image_path)
55
 
56
  demo = gr.Interface(
57
  fn=swap_faces,
 
51
 
52
  run_cli(cli_args)
53
 
54
+ return output_image_path
55
 
56
  demo = gr.Interface(
57
  fn=swap_faces,