Code
Browse files
app.py
CHANGED
@@ -31,8 +31,13 @@ with gr.Blocks() as demo:
|
|
31 |
# Hierarchical Species Distribution Model!
|
32 |
This model predicts the distribution of species based on geographic, environmental, and natural language features.
|
33 |
""")
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
|
|
|
|
|
|
|
|
|
|
38 |
demo.launch()
|
|
|
31 |
# Hierarchical Species Distribution Model!
|
32 |
This model predicts the distribution of species based on geographic, environmental, and natural language features.
|
33 |
""")
|
34 |
+
with gr.Row():
|
35 |
+
inp = gr.Dropdown(label="Taxonomic Hierarchy", choices=["Class", "Order", "Family", "Genus", "Species"])
|
36 |
+
out = gr.Dropdown(label="Name", interactive=True)
|
37 |
+
inp.change(update_fn, inp, out)
|
38 |
+
|
39 |
+
with gr.Row():
|
40 |
+
submit_button = gr.Button("Run Model")
|
41 |
+
|
42 |
+
|
43 |
demo.launch()
|