wencheng256 commited on
Commit
86d0ab8
1 Parent(s): 04d76f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def predict(input_text):
8
  print("Punctuation finished...")
9
 
10
  # restore the carrige returns
11
- srt_file = input_text.replace("\n", "")
12
  punctuated = output_text
13
 
14
  srt_file_strip=srt_file.strip()
 
8
  print("Punctuation finished...")
9
 
10
  # restore the carrige returns
11
+ srt_file = input_text.replace("\n", " ")
12
  punctuated = output_text
13
 
14
  srt_file_strip=srt_file.strip()