wildoctopus commited on
Commit
d03c73f
·
verified ·
1 Parent(s): 0d51a15

Update app.py

Browse files

Added fix as per latest Gradio version.

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,10 +33,10 @@ def run(img):
33
  return cloth_seg
34
 
35
  # Define input and output interfaces
36
- input_image = gr.inputs.Image(label="Input Image", type="pil")
37
 
38
  # Define the Gradio interface
39
- cloth_seg_image = gr.outputs.Image(label="Cloth Segmentation", type="pil")
40
 
41
  title = "Demo for Cloth Segmentation"
42
  description = "An app for Cloth Segmentation"
 
33
  return cloth_seg
34
 
35
  # Define input and output interfaces
36
+ input_image = gr.Image(label="Input Image", type="pil")
37
 
38
  # Define the Gradio interface
39
+ cloth_seg_image = gr.Image(label="Cloth Segmentation", type="pil")
40
 
41
  title = "Demo for Cloth Segmentation"
42
  description = "An app for Cloth Segmentation"