dexay commited on
Commit
7e610e7
·
1 Parent(s): b4a960f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -221,7 +221,7 @@ if submit and len(x) != 0:
221
 
222
  for i in range(len(outrelbl)):
223
  if outrelbl[i] != "other":
224
- edccan += [[lstSentEnc[i],lstSentEnt[i][0]+" ["+lstSentbilbl[i][0][2:]+"]", lstSentEnt[i][1]+" ["+lstSentbilbl[i][0][2:]+"]",outrelbl[i][:-7]]]
225
 
226
  edccandf = pd.DataFrame(edccan, columns= ["Sentence", "Entity 1", "Entity 2", "Relation"] )
227
 
 
221
 
222
  for i in range(len(outrelbl)):
223
  if outrelbl[i] != "other":
224
+ edccan += [[lstSentEnc[i],lstSentEnt[i][0]+" ["+lstSentbilbl[i][0][2:]+"]", lstSentEnt[i][1]+" ["+lstSentbilbl[i][1][2:]+"]",outrelbl[i][:-7]]]
225
 
226
  edccandf = pd.DataFrame(edccan, columns= ["Sentence", "Entity 1", "Entity 2", "Relation"] )
227