Spaces:
Runtime error
Runtime error
Daniil Larionov
commited on
Commit
•
b24cd9b
1
Parent(s):
9c1813e
update role names
Browse files
app.py
CHANGED
@@ -29,11 +29,11 @@ def convert_to_spacy(text, result):
|
|
29 |
|
30 |
colors = {
|
31 |
'PREDICATE': "#80bdff",
|
32 |
-
'
|
33 |
-
'
|
34 |
-
'
|
35 |
-
'
|
36 |
-
'
|
37 |
}
|
38 |
options = {
|
39 |
'ents': list(colors.keys()), 'colors': colors
|
|
|
29 |
|
30 |
colors = {
|
31 |
'PREDICATE': "#80bdff",
|
32 |
+
'CAUSATIVE': "#73ffbe",
|
33 |
+
'CAUSATOR': "#ff5b5e",
|
34 |
+
'EXPIRIENCER': "#efff42",
|
35 |
+
'OTHER': "#924fff",
|
36 |
+
'INSTRUMENT': "#28fff1"
|
37 |
}
|
38 |
options = {
|
39 |
'ents': list(colors.keys()), 'colors': colors
|