Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -73,10 +73,10 @@ title = "Swap Faces Using Our Model!!!"
|
|
73 |
iface = gr.Interface(
|
74 |
fn=predictor.predict,
|
75 |
inputs=[
|
76 |
-
gr.
|
77 |
-
gr.
|
78 |
],
|
79 |
-
outputs=gr.
|
80 |
title=title,
|
81 |
examples=[["input.jpg", "swap img.jpg"]])
|
82 |
|
|
|
73 |
iface = gr.Interface(
|
74 |
fn=predictor.predict,
|
75 |
inputs=[
|
76 |
+
gr.Image(type="file", label="Target Image"),
|
77 |
+
gr.Image(type="file", label="Swap Image")
|
78 |
],
|
79 |
+
outputs=gr.Image(type="file", label="Result"),
|
80 |
title=title,
|
81 |
examples=[["input.jpg", "swap img.jpg"]])
|
82 |
|