arunavsk1 commited on
Commit
620017f
1 Parent(s): 5f9fa8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -92,7 +92,7 @@ if Run_Button == True:
92
  'LABEL_2': 'I-Intervention',
93
  'LABEL_3': 'B-Outcome',
94
  'LABEL_4': 'I-Outcome',
95
- 'LABEL_5': 'B-Values',
96
  'LABEL_6': 'I-Value'}
97
 
98
  for entity in output:
@@ -101,7 +101,7 @@ if Run_Button == True:
101
  else:
102
  spacy_display["ents"].append({"start": entity["start"], "end": entity["end"], "label": entity_map[entity["entity"]]})
103
 
104
-
105
 
106
  colors = {'B-Intervention': '#85DCDF',
107
  'I-Intervention': '#85DCDF',
 
92
  'LABEL_2': 'I-Intervention',
93
  'LABEL_3': 'B-Outcome',
94
  'LABEL_4': 'I-Outcome',
95
+ 'LABEL_5': 'B-Value',
96
  'LABEL_6': 'I-Value'}
97
 
98
  for entity in output:
 
101
  else:
102
  spacy_display["ents"].append({"start": entity["start"], "end": entity["end"], "label": entity_map[entity["entity"]]})
103
 
104
+ entity_list = ['B-Intervention', 'I-Intervention', 'B-Outcome', 'I-Outcome', 'B-Value', 'I-Value']
105
 
106
  colors = {'B-Intervention': '#85DCDF',
107
  'I-Intervention': '#85DCDF',