Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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():
|