Spaces:
Running
on
Zero
Running
on
Zero
derektan
commited on
Commit
Β·
f996296
1
Parent(s):
7725e3b
Simple UI corrections
Browse files
app.py
CHANGED
@@ -142,7 +142,7 @@ def process(
|
|
142 |
|
143 |
|
144 |
# ββββββββββββββββββββββββββ Gradio UI βββββββββββββββββββββββββββββββββ
|
145 |
-
with gr.Blocks(title="
|
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
|
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="
|
206 |
height=160,
|
207 |
)
|
208 |
heat_text_out = gr.Image(
|
209 |
-
label="
|
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 |
|