shlokamhaisekar commited on
Commit
3c30c05
·
verified ·
1 Parent(s): 2b98eda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = []