Update app.py
Browse filesAdded fix as per latest Gradio version.
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.
|
37 |
|
38 |
# Define the Gradio interface
|
39 |
-
cloth_seg_image = gr.
|
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"
|