ajitrajasekharan commited on
Commit
12d026a
1 Parent(s): 98508a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -141,7 +141,6 @@ def perform_inference(text,display_area):
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, Catherine Zeta Jones participated in the Winter Olympics and came third in Ice hockey",
145
  "Stanford called",
146
  "I met my girl friends at the pub ",
147
  "I met my New York friends at the pub",
@@ -163,7 +162,6 @@ sent_arr = [
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",
168
  "I met my girl:__entity__ friends at the pub ",
169
  "I met my New:__entity__ York:__entity__ friends at the pub",
 
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
  "Stanford called",
145
  "I met my girl friends at the pub ",
146
  "I met my New York friends at the pub",
 
162
  sent_arr_masked = [
163
  "Washington:__entity__ resigned from Washington:__entity__ and flew out of Washington:__entity__",
164
  "John:__entity__ Doe:__entity__ flew from New:__entity__ York:__entity__ to Rio:__entity__ De:__entity__ Janiro:__entity__ ",
 
165
  "Stanford:__entity__ called",
166
  "I met my girl:__entity__ friends at the pub ",
167
  "I met my New:__entity__ York:__entity__ friends at the pub",