ajitrajasekharan commited on
Commit
edf6d87
1 Parent(s): c79d9d8

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 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",
@@ -161,7 +161,7 @@ sent_arr = [
161
 
162
 
163
  sent_arr_masked = [
164
- "Washington:__entity__ resigned from Washington:__entity__ and flew to Washington:__entity__",
165
  "John:__entity__ Doe:__entity__ flew from New:__entity__ York:__entity__ to Rio:__entity__ De:__entity__ Janiro:__entity__ ",
166
  "In 2020:__entity__, Catherine:__entity__ Zeta:__entity__ Jones:__entity__ participated in the Winter:__entity__ Olympics:__entity__ and came third in Ice:__entity__ hockey:__entity__",
167
  "Stanford:__entity__ called",
 
139
 
140
 
141
  sent_arr = [
142
+ "Washington resigned from Washington and flew out of 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",
 
161
 
162
 
163
  sent_arr_masked = [
164
+ "Washington:__entity__ resigned from Washington:__entity__ and flew out of Washington:__entity__",
165
  "John:__entity__ Doe:__entity__ flew from New:__entity__ York:__entity__ to Rio:__entity__ De:__entity__ Janiro:__entity__ ",
166
  "In 2020:__entity__, Catherine:__entity__ Zeta:__entity__ Jones:__entity__ participated in the Winter:__entity__ Olympics:__entity__ and came third in Ice:__entity__ hockey:__entity__",
167
  "Stanford:__entity__ called",