ajitrajasekharan commited on
Commit
a44fe85
·
1 Parent(s): b842440

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -139,7 +139,7 @@ def perform_inference(text,display_area):
139
 
140
 
141
  sent_arr = [
142
- "Washington who resigned from Washington flew to Washington",
143
  "John Doe flew from New York to Rio De Janiro ",
144
  "In 2020, John participated in the Winter Olympics and came third in Ice hockey",
145
  "Stanford called",
@@ -155,7 +155,7 @@ sent_arr = [
155
 
156
 
157
  sent_arr_masked = [
158
- "Washington:__entity__ who resigned from Washington:__entity__ flew to Washington:__entity__",
159
  "John:__entity__ Doe:__entity__ flew from New:__entity__ York:__entity__ to Rio:__entity__ De:__entity__ Janiro:__entity__ ",
160
  "In 2020:__entity__, Catherine:__entity__ Zeta:__entity__ Jones:__entity__ participated in the Winter:__entity__ Olympics:__entity__ and came third in Ice:__entity__ hockey:__entity__",
161
  "Stanford:__entity__ called",
 
139
 
140
 
141
  sent_arr = [
142
+ "Washington resigned from Washington and flew to Washington",
143
  "John Doe flew from New York to Rio De Janiro ",
144
  "In 2020, John participated in the Winter Olympics and came third in Ice hockey",
145
  "Stanford called",
 
155
 
156
 
157
  sent_arr_masked = [
158
+ "Washington:__entity__ resigned from Washington:__entity__ and flew to Washington:__entity__",
159
  "John:__entity__ Doe:__entity__ flew from New:__entity__ York:__entity__ to Rio:__entity__ De:__entity__ Janiro:__entity__ ",
160
  "In 2020:__entity__, Catherine:__entity__ Zeta:__entity__ Jones:__entity__ participated in the Winter:__entity__ Olympics:__entity__ and came third in Ice:__entity__ hockey:__entity__",
161
  "Stanford:__entity__ called",