Update app.py
Browse files
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
|