Vishu26 commited on
Commit
2c3470d
·
1 Parent(s): 806fa12
Files changed (1) hide show
  1. app.py +9 -4
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
- inp = gr.Dropdown(label="Taxonomic Hierarchy", choices=["Class", "Order", "Family", "Genus", "Species"])
35
- out = gr.Dropdown(label="Name", interactive=True)
36
- inp.change(update_fn, inp, out)
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()