Spaces:
Runtime error
Runtime error
paul hilders
commited on
Commit
·
852d405
1
Parent(s):
fbfde1a
Add another warning
Browse files
app.py
CHANGED
@@ -128,7 +128,9 @@ inputs_NER = [input_img_NER, input_txt_NER]
|
|
128 |
outputs_NER = ["highlight", gr.Gallery(type='pil', label="NER Entity explanations")]
|
129 |
|
130 |
description_NER = """Automatically generated CLIP grounding explanations for
|
131 |
-
named entities, retrieved from the spacy NER model.""
|
|
|
|
|
132 |
|
133 |
iface_NER = gr.Interface(fn=NER_demo,
|
134 |
inputs=inputs_NER,
|
|
|
128 |
outputs_NER = ["highlight", gr.Gallery(type='pil', label="NER Entity explanations")]
|
129 |
|
130 |
description_NER = """Automatically generated CLIP grounding explanations for
|
131 |
+
named entities, retrieved from the spacy NER model. <span style="color:red">Warning:</span> Note
|
132 |
+
that attribution methods such as the one from this demo can only give an estimate of the real
|
133 |
+
underlying behavior of the model."""
|
134 |
|
135 |
iface_NER = gr.Interface(fn=NER_demo,
|
136 |
inputs=inputs_NER,
|