Upload app.py
Browse files
app.py
CHANGED
@@ -234,7 +234,9 @@ def sepia(input_img):
|
|
234 |
fig = draw_plot(pred_img, seg)
|
235 |
return fig
|
236 |
|
237 |
-
demo = gr.Interface(
|
|
|
|
|
238 |
inputs=gr.Image(shape=(400, 600)),
|
239 |
outputs=['plot'],
|
240 |
examples=["sample-1.jpg", "sample-2.jpg", "sample-3.png", "sample-4.jpg", "sample-5.jpg",],
|
|
|
234 |
fig = draw_plot(pred_img, seg)
|
235 |
return fig
|
236 |
|
237 |
+
demo = gr.Interface(
|
238 |
+
theme='gradio/theme-gallery',
|
239 |
+
fn=sepia,
|
240 |
inputs=gr.Image(shape=(400, 600)),
|
241 |
outputs=['plot'],
|
242 |
examples=["sample-1.jpg", "sample-2.jpg", "sample-3.png", "sample-4.jpg", "sample-5.jpg",],
|