vives commited on
Commit
0b48aba
1 Parent(s): d20a440

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -85,6 +85,7 @@ def extract_idxs(top_dict, kp_dict):
85
  return idxs
86
 
87
  if text:
 
88
  new_tokens = concat_tokens([text])
89
  new_tokens.pop("KPS")
90
  with torch.no_grad():
 
85
  return idxs
86
 
87
  if text:
88
+ text = text.lower()
89
  new_tokens = concat_tokens([text])
90
  new_tokens.pop("KPS")
91
  with torch.no_grad():