Spaces:
Running
Running
CesarLeblanc
commited on
Commit
•
53e71ae
1
Parent(s):
3cb6c3b
Update app.py
Browse files
app.py
CHANGED
@@ -81,13 +81,16 @@ def masking(text):
|
|
81 |
with gr.Blocks() as demo:
|
82 |
gr.Markdown("Classify vegetation plots or find the missing species.")
|
83 |
with gr.Tab("Vegetation plot classification"):
|
84 |
-
species = gr.Textbox(lines=2, label="Species", placeholder="Enter a list of comma-separated binomial names here.")
|
85 |
-
typology = gr.Dropdown(["EUNIS"], value="EUNIS", label="Typology", info="Will add more typologies later!")
|
86 |
-
confidence = gr.Slider(0, 100, value=90, label="Confidence", info="Choose the level of confidence for the prediction.")
|
87 |
with gr.Row():
|
88 |
-
|
89 |
-
|
|
|
|
|
|
|
|
|
|
|
90 |
text_button = gr.Button("Classify")
|
|
|
91 |
with gr.Tab("Missing species finding"):
|
92 |
with gr.Row():
|
93 |
species_2 = gr.Textbox(lines=2, label="Species", placeholder="Enter a list of comma-separated binomial names here.")
|
|
|
81 |
with gr.Blocks() as demo:
|
82 |
gr.Markdown("Classify vegetation plots or find the missing species.")
|
83 |
with gr.Tab("Vegetation plot classification"):
|
|
|
|
|
|
|
84 |
with gr.Row():
|
85 |
+
with gr.Column():
|
86 |
+
species = gr.Textbox(lines=2, label="Species", placeholder="Enter a list of comma-separated binomial names here.")
|
87 |
+
typology = gr.Dropdown(["EUNIS"], value="EUNIS", label="Typology", info="Will add more typologies later!")
|
88 |
+
confidence = gr.Slider(0, 100, value=90, label="Confidence", info="Choose the level of confidence for the prediction.")
|
89 |
+
with gr.Column():
|
90 |
+
text_output_1 = gr.Textbox()
|
91 |
+
text_output_2 = gr.Image()
|
92 |
text_button = gr.Button("Classify")
|
93 |
+
|
94 |
with gr.Tab("Missing species finding"):
|
95 |
with gr.Row():
|
96 |
species_2 = gr.Textbox(lines=2, label="Species", placeholder="Enter a list of comma-separated binomial names here.")
|