Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,8 +24,7 @@ if text:
|
|
24 |
result = nlp(text+' '+nlp.tokenizer.mask_token)
|
25 |
data_load_state.text('')
|
26 |
for index, r in enumerate(result):
|
27 |
-
print(1)
|
28 |
if r['token_str'].lower().strip() in history_keyword_text.lower().strip():
|
29 |
-
st.caption(
|
30 |
result[index]['score']*=0.10
|
31 |
st.table(result)
|
|
|
24 |
result = nlp(text+' '+nlp.tokenizer.mask_token)
|
25 |
data_load_state.text('')
|
26 |
for index, r in enumerate(result):
|
|
|
27 |
if r['token_str'].lower().strip() in history_keyword_text.lower().strip():
|
28 |
+
st.caption(str(index))
|
29 |
result[index]['score']*=0.10
|
30 |
st.table(result)
|