Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,6 @@ if text:
|
|
22 |
result = nlp(text+' '+nlp.tokenizer.mask_token)
|
23 |
data_load_state.text('')
|
24 |
for r in result:
|
25 |
-
if r['sequence'].lower().strip() in history_keyword_text.
|
26 |
r['score']*=0.10
|
27 |
st.table(result)
|
|
|
22 |
result = nlp(text+' '+nlp.tokenizer.mask_token)
|
23 |
data_load_state.text('')
|
24 |
for r in result:
|
25 |
+
if r['sequence'].lower().strip() in history_keyword_text.lower().strip():
|
26 |
r['score']*=0.10
|
27 |
st.table(result)
|