Spaces:
Runtime error
Runtime error
hasibzunair
commited on
Commit
β’
71f116c
1
Parent(s):
989e7a4
update
Browse files
app.py
CHANGED
@@ -178,7 +178,7 @@ 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"]],
|
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?", type='index')],
|
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"]],
|