Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,8 @@ def capitalize_and_punctuate(text):
|
|
72 |
|
73 |
# Объединяем все предложения в единый текст
|
74 |
final_text = ' '.join(corrected_sentences)
|
75 |
-
|
|
|
76 |
return final_text
|
77 |
|
78 |
|
|
|
72 |
|
73 |
# Объединяем все предложения в единый текст
|
74 |
final_text = ' '.join(corrected_sentences)
|
75 |
+
final_text = final_text.replace(' .', '.')
|
76 |
+
|
77 |
return final_text
|
78 |
|
79 |
|