Spaces:
Sleeping
Sleeping
wencheng256
commited on
Commit
•
86d0ab8
1
Parent(s):
04d76f8
Update app.py
Browse files
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()
|