AdityaTheDev commited on
Commit
465d512
·
verified ·
1 Parent(s): 01de589

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,8 +75,8 @@ if query:
75
  splitter = RecursiveCharacterTextSplitter(
76
  chunk_size=100, # Maximum size of each chunk
77
  chunk_overlap=20, # Overlap between chunks
78
- separators=[".", "\n",]
79
- The order of separators: first split by double newlines, then single newlines, then spaces, and finally characters
80
  )
81
 
82
  # Split the text into chunks
 
75
  splitter = RecursiveCharacterTextSplitter(
76
  chunk_size=100, # Maximum size of each chunk
77
  chunk_overlap=20, # Overlap between chunks
78
+ separators=[".", "\n","\n\n"]
79
+ #The order of separators: first split by double newlines, then single newlines, then spaces, and finally characters
80
  )
81
 
82
  # Split the text into chunks