hasibzunair commited on
Commit
71f116c
β€’
1 Parent(s): 989e7a4
Files changed (1) hide show
  1. app.py +1 -1
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"]],