Shredder commited on
Commit
79c9105
1 Parent(s): 6b3f117

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def score_fincat(txt):
59
  features = bert_embedding_extract(context_text, word)
60
  if(features[0]=='None'):
61
  highlight.append(('None', ' '))
62
- dff = pd.DataFrame([['None', 'None', 'None'])
63
  headers = ['numeral', 'prediction', 'probability']
64
  dff.columns = headers
65
  return highlight, dff
 
59
  features = bert_embedding_extract(context_text, word)
60
  if(features[0]=='None'):
61
  highlight.append(('None', ' '))
62
+ dff = pd.DataFrame([['None', 'None', 'None']])
63
  headers = ['numeral', 'prediction', 'probability']
64
  dff.columns = headers
65
  return highlight, dff