Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ def punctuate(input_text, model_name):
|
|
90 |
output = ""
|
91 |
for item in preds:
|
92 |
if item["word"] == ".":
|
93 |
-
item["entity_group"] = "
|
94 |
output += " " + process_token(item['word'].strip(), item['entity_group'])
|
95 |
|
96 |
return output.strip()
|
|
|
90 |
output = ""
|
91 |
for item in preds:
|
92 |
if item["word"] == ".":
|
93 |
+
item["entity_group"] = "LOWER_O"
|
94 |
output += " " + process_token(item['word'].strip(), item['entity_group'])
|
95 |
|
96 |
return output.strip()
|