qanastek commited on
Commit
204126b
1 Parent(s): 869f68c
Files changed (1) hide show
  1. app.py +1 -1
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[t]) for t, l in zip(texts, labels)]
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