Thiago Hersan commited on
Commit
3e5e0ae
·
1 Parent(s): 4e3cfa9

update readme and gradio labels

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +5 -2
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Maskformer Satellite+Tree Gradio
3
  emoji: 🛰
4
  colorFrom: indigo
5
  colorTo: pink
 
1
  ---
2
+ title: Maskformer Satellite+Trees
3
  emoji: 🛰
4
  colorFrom: indigo
5
  colorTo: pink
app.py CHANGED
@@ -70,8 +70,11 @@ def query_image(img):
70
  demo = gr.Interface(
71
  query_image,
72
  inputs=[gr.Image(label="Input Image")],
73
- outputs=[gr.Image(label="Trees"), gr.DataFrame(headers=None, label="Area Info")],
74
- title="maskformer-satellite-trees",
 
 
 
75
  allow_flagging="never",
76
  analytics_enabled=None
77
  )
 
70
  demo = gr.Interface(
71
  query_image,
72
  inputs=[gr.Image(label="Input Image")],
73
+ outputs=[
74
+ gr.Image(label="Vegetation"),
75
+ gr.DataFrame(label="Info", headers=["Object Label", "Pixel Percent", "Square Length"])
76
+ ],
77
+ title="Maskformer Satellite+Trees",
78
  allow_flagging="never",
79
  analytics_enabled=None
80
  )