aavetis commited on
Commit
87e10cd
·
1 Parent(s): 2046c5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,9 +38,9 @@ def swap_faces(faceSource, sourceFaceId, faceDestination, destFaceId):
38
 
39
  gr.Interface(swap_faces,
40
  [
41
- gr.Image(type="filepath", label="Input Image", sources=["upload", "clipboard"]),
42
  gr.Number(precision=0, value=1, info='face position (from left, starting at 1)'),
43
- gr.Image(sources=["clipboard", "upload"]),
44
  gr.Number(precision=0, value=1, info='face position (from left, starting at 1)')
45
  ],
46
  gr.Image(),
 
38
 
39
  gr.Interface(swap_faces,
40
  [
41
+ gr.Image(),
42
  gr.Number(precision=0, value=1, info='face position (from left, starting at 1)'),
43
+ gr.Image(),
44
  gr.Number(precision=0, value=1, info='face position (from left, starting at 1)')
45
  ],
46
  gr.Image(),