derektan commited on
Commit
f996296
Β·
1 Parent(s): 7725e3b

Simple UI corrections

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -142,7 +142,7 @@ def process(
142
 
143
 
144
  # ────────────────────────── Gradio UI ─────────────────────────────────
145
- with gr.Blocks(title="EcoMonitor", theme=gr.themes.Base()) as demo:
146
 
147
  with gr.Row():
148
  gr.Markdown(
@@ -189,7 +189,7 @@ with gr.Blocks(title="EcoMonitor", theme=gr.themes.Base()) as demo:
189
  )
190
  taxonomy_input = gr.Textbox(
191
  label="Full Taxonomy Name (optional)",
192
- placeholder="e.g. Animalia Chordata Mammalia Carnivora Ursidae Ursus arctos",
193
  )
194
  run_btn = gr.Button("Run", variant="primary")
195
 
@@ -202,11 +202,11 @@ with gr.Blocks(title="EcoMonitor", theme=gr.themes.Base()) as demo:
202
  height=320,
203
  )
204
  heat_ground_out = gr.Image(
205
- label="Heat-map (Ground query)",
206
  height=160,
207
  )
208
  heat_text_out = gr.Image(
209
- label="Heat-map (Text query)",
210
  height=160,
211
  )
212
 
 
142
 
143
 
144
  # ────────────────────────── Gradio UI ─────────────────────────────────
145
+ with gr.Blocks(title="Search-TTA", theme=gr.themes.Base()) as demo:
146
 
147
  with gr.Row():
148
  gr.Markdown(
 
189
  )
190
  taxonomy_input = gr.Textbox(
191
  label="Full Taxonomy Name (optional)",
192
+ placeholder="e.g. Animalia Chordata Mammalia Rodentia Sciuridae Marmota marmota",
193
  )
194
  run_btn = gr.Button("Run", variant="primary")
195
 
 
202
  height=320,
203
  )
204
  heat_ground_out = gr.Image(
205
+ label="Heatmap (Ground Image query)",
206
  height=160,
207
  )
208
  heat_text_out = gr.Image(
209
+ label="Heatmap (Text query)",
210
  height=160,
211
  )
212