Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,7 @@ def ade_palette():
|
|
34 |
[200, 56, 123],
|
35 |
[87, 92, 204],
|
36 |
[120, 56, 123],
|
37 |
-
[45, 78, 123]
|
38 |
-
[87, 34,112]
|
39 |
]
|
40 |
|
41 |
labels_list = []
|
@@ -102,7 +101,7 @@ def sepia(input_img):
|
|
102 |
return fig
|
103 |
|
104 |
demo = gr.Interface(fn=sepia,
|
105 |
-
inputs=gr.Image(shape=(
|
106 |
outputs=['plot'],
|
107 |
examples=["cityscapes-3.jpg"],
|
108 |
allow_flagging='never')
|
|
|
34 |
[200, 56, 123],
|
35 |
[87, 92, 204],
|
36 |
[120, 56, 123],
|
37 |
+
[45, 78, 123]
|
|
|
38 |
]
|
39 |
|
40 |
labels_list = []
|
|
|
101 |
return fig
|
102 |
|
103 |
demo = gr.Interface(fn=sepia,
|
104 |
+
inputs=gr.Image(shape=(400, 600)),
|
105 |
outputs=['plot'],
|
106 |
examples=["cityscapes-3.jpg"],
|
107 |
allow_flagging='never')
|