Emil25 commited on
Commit
8ef3cc8
·
verified ·
1 Parent(s): 293fc6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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