Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def preprocess_text(text):
|
|
| 24 |
cleaned_text = text.strip()
|
| 25 |
|
| 26 |
# Split the cleaned_text by every newline character (\n)
|
| 27 |
-
chunks = cleaned_text.split("
|
| 28 |
|
| 29 |
# Create an empty list to store cleaned_chunks
|
| 30 |
cleaned_chunks = []
|
|
|
|
| 24 |
cleaned_text = text.strip()
|
| 25 |
|
| 26 |
# Split the cleaned_text by every newline character (\n)
|
| 27 |
+
chunks = cleaned_text.split(" ")
|
| 28 |
|
| 29 |
# Create an empty list to store cleaned_chunks
|
| 30 |
cleaned_chunks = []
|