Saachi-S123 commited on
Commit
51ab396
·
verified ·
1 Parent(s): a198509

Update app.py

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(".")
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 = []