mrfransis commited on
Commit
7e36837
·
1 Parent(s): 6c91d37
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -111,6 +111,7 @@ def main() -> None:
111
 
112
  for line in re.split(r'(?<!\w\.\w.)(?<![A-Z][a-z]\.)(?<=\.|\?)\s', summary):
113
  if line.find(".") != -1:
 
114
  summary_sentences.append(line)
115
  display_summary(summary_sentences)
116
 
 
111
 
112
  for line in re.split(r'(?<!\w\.\w.)(?<![A-Z][a-z]\.)(?<=\.|\?)\s', summary):
113
  if line.find(".") != -1:
114
+ line.replace("..", ".")
115
  summary_sentences.append(line)
116
  display_summary(summary_sentences)
117