Spaces:
Runtime error
Runtime error
CesarLeblanc
commited on
Commit
•
f5f640c
1
Parent(s):
8e84211
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")
|
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")
|
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", 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 |
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>""")
|