aavetis commited on
Commit
2046c5d
·
1 Parent(s): 4df9e66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def swap_faces(faceSource, sourceFaceId, faceDestination, destFaceId):
38
 
39
  gr.Interface(swap_faces,
40
  [
41
- gr.Image(sources=["clipboard", "upload"]),
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)')
 
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)')