Update app.py
Browse files
app.py
CHANGED
@@ -136,12 +136,13 @@ demo = gr.Interface(
|
|
136 |
step=0.01,
|
137 |
label="Threshold",
|
138 |
info="Lower the threshold to increase how many entities get predicted.",
|
139 |
-
),
|
|
|
140 |
value=False,
|
141 |
label="Nested NER",
|
142 |
info="Allow for nested NER?",
|
143 |
)
|
144 |
-
|
145 |
outputs=[gr.JSON()],
|
146 |
examples=examples
|
147 |
)
|
|
|
136 |
step=0.01,
|
137 |
label="Threshold",
|
138 |
info="Lower the threshold to increase how many entities get predicted.",
|
139 |
+
),
|
140 |
+
gr.Checkbox(
|
141 |
value=False,
|
142 |
label="Nested NER",
|
143 |
info="Allow for nested NER?",
|
144 |
)
|
145 |
+
],
|
146 |
outputs=[gr.JSON()],
|
147 |
examples=examples
|
148 |
)
|