Update
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def get_colors(model):
|
|
39 |
return dict(zip(labels, colors))
|
40 |
|
41 |
def getAnnotatedFromPOS(texts, labels, colors):
|
42 |
-
return [(t,l,colors[
|
43 |
|
44 |
def main():
|
45 |
|
|
|
39 |
return dict(zip(labels, colors))
|
40 |
|
41 |
def getAnnotatedFromPOS(texts, labels, colors):
|
42 |
+
return [(t,l,colors[l]) for t, l in zip(texts, labels)]
|
43 |
|
44 |
def main():
|
45 |
|