Spaces:
Runtime error
Runtime error
Update app.py
#9
by
UnarineLeo
- opened
app.py
CHANGED
@@ -65,7 +65,7 @@ def preprocess_text(text):
|
|
65 |
The preprocessed text.
|
66 |
"""
|
67 |
|
68 |
-
# remove
|
69 |
text = text.replace('\n', ' ')
|
70 |
|
71 |
# get rid of characters that are ubiquitous
|
|
|
65 |
The preprocessed text.
|
66 |
"""
|
67 |
|
68 |
+
# remove \n
|
69 |
text = text.replace('\n', ' ')
|
70 |
|
71 |
# get rid of characters that are ubiquitous
|