Spaces:
Runtime error
Runtime error
error fix
Browse files
app.py
CHANGED
@@ -118,10 +118,13 @@ def sepia(input_img):
|
|
118 |
return fig
|
119 |
|
120 |
demo = gr.Interface(fn=sepia,
|
121 |
-
inputs=gr.Image(shape=(
|
122 |
outputs=['plot'],
|
123 |
examples=["sidewalk-1.jpg", "sidewalk-2.jpg", "sidewalk-3.jpg", "sidewalk-4.jpg", "sidewalk-5.jpg", "sidewalk-6.jpg"],
|
124 |
-
allow_flagging='never'
|
|
|
|
|
|
|
125 |
|
126 |
|
127 |
demo.launch()
|
|
|
118 |
return fig
|
119 |
|
120 |
demo = gr.Interface(fn=sepia,
|
121 |
+
inputs=gr.Image(shape=(800, 500)),
|
122 |
outputs=['plot'],
|
123 |
examples=["sidewalk-1.jpg", "sidewalk-2.jpg", "sidewalk-3.jpg", "sidewalk-4.jpg", "sidewalk-5.jpg", "sidewalk-6.jpg"],
|
124 |
+
allow_flagging='never',
|
125 |
+
title='Image Segmentation: Sidewalk',
|
126 |
+
theme=gr.themes.Monochrome()
|
127 |
+
)
|
128 |
|
129 |
|
130 |
demo.launch()
|