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.Image(type="
|
| 77 |
-
gr.Image(type="
|
| 78 |
],
|
| 79 |
-
outputs=gr.Image(type="
|
| 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="filepath", label="Target Image"),
|
| 77 |
+
gr.Image(type="filepath", label="Swap Image")
|
| 78 |
],
|
| 79 |
+
outputs=gr.Image(type="filepath", label="Result"),
|
| 80 |
title=title,
|
| 81 |
examples=[["input.jpg", "swap img.jpg"]])
|
| 82 |
|