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