Spaces:
Sleeping
Sleeping
AlzbetaStrompova
commited on
Commit
•
19e9ab7
1
Parent(s):
d4d79b0
adjust colors
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ with gr.Blocks(css="./style.css", theme=gr.themes.Default(primary_hue="blue", se
|
|
20 |
gr.Interface(ner,
|
21 |
gr.Textbox(lines=10, placeholder="Enter sentence here..."),
|
22 |
# gr.HighlightedText(show_legend=True, color_map={"PER": "red", "ORG": "green", "LOC": "blue"}),
|
23 |
-
gr.HighlightedText(show_legend=True, color_map={"PER": "#
|
24 |
examples=examples,
|
25 |
title="NerROB-czech",
|
26 |
description="This is an implementation of a Named Entity Recognition model for the Czech language using gazetteers.",
|
|
|
20 |
gr.Interface(ner,
|
21 |
gr.Textbox(lines=10, placeholder="Enter sentence here..."),
|
22 |
# gr.HighlightedText(show_legend=True, color_map={"PER": "red", "ORG": "green", "LOC": "blue"}),
|
23 |
+
gr.HighlightedText(show_legend=True, color_map={"PER": "#f57d7d", "ORG": "#2cf562", "LOC": "#86aafc"}, elem_id="highlighted_text"),
|
24 |
examples=examples,
|
25 |
title="NerROB-czech",
|
26 |
description="This is an implementation of a Named Entity Recognition model for the Czech language using gazetteers.",
|