herMaster commited on
Commit
900d62c
1 Parent(s): 1e493e3

syntax update

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -115,12 +115,12 @@ print("################################################################")
115
 
116
  def chat(file, question):
117
  def get_chunks(text):
118
- text_splitter = RecursiveCharacterTextSplitter(
119
- # seperator = "\n",
120
- chunk_size = 250,
121
- chunk_overlap = 50,
122
- length_function = len,
123
- )
124
 
125
  chunks = text_splitter.split_text(text)
126
  return chunks
 
115
 
116
  def chat(file, question):
117
  def get_chunks(text):
118
+ text_splitter = RecursiveCharacterTextSplitter(
119
+ # seperator = "\n",
120
+ chunk_size = 250,
121
+ chunk_overlap = 50,
122
+ length_function = len,
123
+ )
124
 
125
  chunks = text_splitter.split_text(text)
126
  return chunks