false whitespace replacing is fixed

This commit is contained in:
alpertunga-bile
2024-05-26 23:38:02 +03:00
parent f5c259ad90
commit 1b42d3d7a7
+1 -1
View File
@@ -86,7 +86,7 @@ def preprocess(line: str, preprocess_mode: str) -> str:
temp_line = temp_line.replace("\xa0", " ")
temp_line = temp_line.replace("\n", ", ")
temp_line = remove_multiwhitespaces_regex.sub(
"", temp_line
" ", temp_line
) # from -> , , , ( prompt) | to -> , , , (prompt)
temp_line = remove_nonpromptcommas_regex.sub(