Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -102,8 +102,8 @@ def sepia(input_img):
|
|
102 |
return fig
|
103 |
|
104 |
demo = gr.Interface(fn=sepia,
|
105 |
-
inputs=gr.Image(shape=(400, 600), label="Upload an image:", type="pil", theme="
|
106 |
-
outputs=[gr.Image(plot=True, label="Segmentation Map", type="pil", theme="
|
107 |
examples=["city-1.jpg", "city-2.jpg", "city-3.jpg"],
|
108 |
allow_flagging='never')
|
109 |
|
|
|
102 |
return fig
|
103 |
|
104 |
demo = gr.Interface(fn=sepia,
|
105 |
+
inputs=gr.Image(shape=(400, 600), label="Upload an image:", type="pil", theme="dark"), # Dark ν
λ§
|
106 |
+
outputs=[gr.Image(plot=True, label="Segmentation Map", type="pil", theme="dark")], # Dark ν
λ§
|
107 |
examples=["city-1.jpg", "city-2.jpg", "city-3.jpg"],
|
108 |
allow_flagging='never')
|
109 |
|