Spaces:
Runtime error
Runtime error
CesarLeblanc
commited on
Commit
•
16ad661
1
Parent(s):
6176ef8
Update app.py
Browse files
app.py
CHANGED
@@ -68,8 +68,8 @@ def plantbert(text, typology, confidence, task):
|
|
68 |
inputs=[
|
69 |
gr.Textbox(lines=2, label="Species", placeholder="Enter a list of comma-separated binomial names here."),
|
70 |
gr.Dropdown(["EUNIS"], value="EUNIS", label="Typology", info="Will add more typologies later!"),
|
71 |
-
gr.Slider(0, 100, value=90, label="Confidence", info="Choose the level of confidence for the prediction.")
|
72 |
-
gr.Radio(["classification", "masking"], value="classification", label="Task", info="Which task to choose?")
|
73 |
]
|
74 |
|
75 |
outputs=[
|
|
|
68 |
inputs=[
|
69 |
gr.Textbox(lines=2, label="Species", placeholder="Enter a list of comma-separated binomial names here."),
|
70 |
gr.Dropdown(["EUNIS"], value="EUNIS", label="Typology", info="Will add more typologies later!"),
|
71 |
+
gr.Slider(0, 100, value=90, label="Confidence", info="Choose the level of confidence for the prediction."),
|
72 |
+
gr.Radio(["classification", "masking"], value="classification", label="Task", info="Which task to choose?")
|
73 |
]
|
74 |
|
75 |
outputs=[
|