Update app.py
Browse files
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=["
|
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)')
|