Spaces:
Runtime error
Runtime error
alexrods
commited on
Commit
•
e3de154
1
Parent(s):
7d1506d
fix error in app.py
Browse files
app.py
CHANGED
@@ -58,8 +58,8 @@ def segmentation(input_image):
|
|
58 |
overlay = get_overlay(image_tensor, prediction_colormap)
|
59 |
return (overlay, prediction_colormap)
|
60 |
|
61 |
-
i = gr.inputs.Image()
|
62 |
-
o = [gr.outputs.Image('pil'), gr.outputs.Image('pil')]
|
63 |
|
64 |
examples = [["example_image_2.jpeg"], ["example_image_2.jpg"], ["example_image_3.jpeg"]]
|
65 |
|
|
|
58 |
overlay = get_overlay(image_tensor, prediction_colormap)
|
59 |
return (overlay, prediction_colormap)
|
60 |
|
61 |
+
# i = gr.inputs.Image()
|
62 |
+
# o = [gr.outputs.Image('pil'), gr.outputs.Image('pil')]
|
63 |
|
64 |
examples = [["example_image_2.jpeg"], ["example_image_2.jpg"], ["example_image_3.jpeg"]]
|
65 |
|