Spaces:
Runtime error
Runtime error
Thiago Hersan
commited on
Commit
•
1f6ce81
1
Parent(s):
a67cc84
adjust labels/headers/name
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title: Maskformer Vegetation
|
3 |
emoji: 🥦
|
4 |
colorFrom: pink
|
5 |
colorTo: indigo
|
|
|
1 |
---
|
2 |
+
title: Maskformer COCO Vegetation
|
3 |
emoji: 🥦
|
4 |
colorFrom: pink
|
5 |
colorTo: indigo
|
app.py
CHANGED
@@ -62,7 +62,10 @@ def query_image(img):
|
|
62 |
demo = gr.Interface(
|
63 |
query_image,
|
64 |
inputs=[gr.Image(label="Input Image")],
|
65 |
-
outputs=[
|
|
|
|
|
|
|
66 |
title="maskformer-swin-large-coco",
|
67 |
allow_flagging="never",
|
68 |
analytics_enabled=None
|
|
|
62 |
demo = gr.Interface(
|
63 |
query_image,
|
64 |
inputs=[gr.Image(label="Input Image")],
|
65 |
+
outputs=[
|
66 |
+
gr.Image(label="Vegetation"),
|
67 |
+
gr.DataFrame(label="Info", headers=["Object Label", "Pixel Percent", "Square Length"])
|
68 |
+
],
|
69 |
title="maskformer-swin-large-coco",
|
70 |
allow_flagging="never",
|
71 |
analytics_enabled=None
|