bourdoiscatie commited on
Commit
85cb398
1 Parent(s): b27b672

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def load_model(version,text):
26
  return result
27
 
28
  def getcolor(texts, labels):
29
- colors = {'LOC': '#38419D', 'PER': '#BF3131', 'ORG': '#597E52', 'ISC':'#F1C232'}
30
  return [(t,l,colors[l]) for t, l in zip(texts, labels)]
31
 
32
  def color_annotation(to_print,transcript) :
 
26
  return result
27
 
28
  def getcolor(texts, labels):
29
+ colors = {'LOC': '#38419D', 'PER': '#BF3131', 'ORG': '#597E52', 'MISC':'#F1C232', 'ISC':'#F1C232'}
30
  return [(t,l,colors[l]) for t, l in zip(texts, labels)]
31
 
32
  def color_annotation(to_print,transcript) :