CesarLeblanc commited on
Commit
b5d9907
1 Parent(s): f5f640c
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -137,7 +137,7 @@ with gr.Blocks() as demo:
137
  species_classification = gr.Textbox(lines=2, label="Species", placeholder="Enter a list of comma-separated binomial names here.")
138
  k_classification = gr.Slider(1, 5, value=1, step=1, label="Top-k", info="Choose the number of top habitats to display.")
139
  with gr.Column():
140
- text_classification = gr.Textbox(label="Prediction", placeholder="The predicted habitat(s) will be displayed here.")
141
  image_classification = gr.Image()
142
  button_classification = gr.Button("Classify")
143
  gr.Markdown("""<h5 style="text-align: center;">An example of input</h5>""")
@@ -150,7 +150,7 @@ with gr.Blocks() as demo:
150
  species_masking = gr.Textbox(lines=2, label="Species", placeholder="Enter a list of comma-separated binomial names here.")
151
  k_masking = gr.Slider(1, 5, value=1, step=1, label="Top-k", info="Choose the number of top missing species to find.")
152
  with gr.Column():
153
- text_masking = gr.Textbox(label="Prediction", placeholder="The predicted species will be displayed here")
154
  image_masking = gr.Image()
155
  button_masking = gr.Button("Find")
156
  gr.Markdown("""<h5 style="text-align: center;">An example of input</h5>""")
 
137
  species_classification = gr.Textbox(lines=2, label="Species", placeholder="Enter a list of comma-separated binomial names here.")
138
  k_classification = gr.Slider(1, 5, value=1, step=1, label="Top-k", info="Choose the number of top habitats to display.")
139
  with gr.Column():
140
+ text_classification = gr.Textbox(label="Prediction")
141
  image_classification = gr.Image()
142
  button_classification = gr.Button("Classify")
143
  gr.Markdown("""<h5 style="text-align: center;">An example of input</h5>""")
 
150
  species_masking = gr.Textbox(lines=2, label="Species", placeholder="Enter a list of comma-separated binomial names here.")
151
  k_masking = gr.Slider(1, 5, value=1, step=1, label="Top-k", info="Choose the number of top missing species to find.")
152
  with gr.Column():
153
+ text_masking = gr.Textbox(label="Prediction")
154
  image_masking = gr.Image()
155
  button_masking = gr.Button("Find")
156
  gr.Markdown("""<h5 style="text-align: center;">An example of input</h5>""")