Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ gr.Interface(
|
|
38 |
swap_faces,
|
39 |
[
|
40 |
gr.Image(label="Source Image (the image with the face that you want to use)"),
|
41 |
-
gr.Number(precision=0, value=1, label='Source Face Position', info='In case there are multiple faces on the image specify which should be used from the left, starting at 1'),
|
42 |
gr.Image(label="Destination Image (the image with the face that you want to replace)"),
|
43 |
gr.Number(precision=0, value=1, label='Destination Face Position', info='In case there are multiple faces on the image specify which should be replaced from the left, starting at 1')
|
44 |
],
|
|
|
38 |
swap_faces,
|
39 |
[
|
40 |
gr.Image(label="Source Image (the image with the face that you want to use)"),
|
41 |
+
gr.Number(precision=0, value=1, label='Source Face Position', info='In case there are multiple faces on the image specify which should be used from the left, starting at 1', visible=False,),
|
42 |
gr.Image(label="Destination Image (the image with the face that you want to replace)"),
|
43 |
gr.Number(precision=0, value=1, label='Destination Face Position', info='In case there are multiple faces on the image specify which should be replaced from the left, starting at 1')
|
44 |
],
|