Saachi-S123 commited on
Commit
f2f814b
·
verified ·
1 Parent(s): 7acfb49

Changed Chunks length

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