Karin0616
commited on
Commit
ยท
37bdf9b
1
Parent(s):
e5862fe
example radio
Browse files
app.py
CHANGED
@@ -57,8 +57,8 @@ def label_to_color_image(label):
|
|
57 |
|
58 |
# Gradio ์ธํฐํ์ด์ค ์ ์
|
59 |
iface = gr.Interface(
|
60 |
-
fn=
|
61 |
-
inputs=
|
62 |
outputs="image",
|
63 |
examples=["city1.jpg","city2.jpg","city3.jpg"],
|
64 |
)
|
|
|
57 |
|
58 |
# Gradio ์ธํฐํ์ด์ค ์ ์
|
59 |
iface = gr.Interface(
|
60 |
+
fn=predict_segmentation,
|
61 |
+
inputs=gr.Image(shape=(564,846)),
|
62 |
outputs="image",
|
63 |
examples=["city1.jpg","city2.jpg","city3.jpg"],
|
64 |
)
|