Spaces:
Runtime error
Runtime error
hasibzunair
commited on
Commit
β’
989e7a4
1
Parent(s):
64e05eb
update
Browse files
app.py
CHANGED
@@ -176,10 +176,10 @@ thumbnail = None # "./pathtothumbnail.png"
|
|
176 |
|
177 |
gr.Interface(
|
178 |
inference,
|
179 |
-
[gr.inputs.Image(type='
|
180 |
-
gr.inputs.Image(type='
|
181 |
-
gr.inputs.Radio(choices=["yes","no"],
|
182 |
-
gr.outputs.Image(type="
|
183 |
examples=[["./sample_images/1/cloth.jpg", "./sample_images/1/person.jpg"],
|
184 |
["./sample_images/2/cloth.jpg", "./sample_images/2/person.jpg"]],
|
185 |
title=title,
|
|
|
176 |
|
177 |
gr.Interface(
|
178 |
inference,
|
179 |
+
[gr.inputs.Image(type='file', label="Clothing Image"),
|
180 |
+
gr.inputs.Image(type='file', label="Person Image"),
|
181 |
+
gr.inputs.Radio(choices=["yes","no"], label="Retrieve original background from the person image?")],
|
182 |
+
gr.outputs.Image(type="file", label="Predicted Output"),
|
183 |
examples=[["./sample_images/1/cloth.jpg", "./sample_images/1/person.jpg"],
|
184 |
["./sample_images/2/cloth.jpg", "./sample_images/2/person.jpg"]],
|
185 |
title=title,
|