JUNGU commited on
Commit
f7a9654
1 Parent(s): 38d4cdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ os.environ["OPENAI_API_KEY"] = os.environ['my_secret']
21
  loader = PyPDFLoader("/home/user/app/docs.pdf")
22
  documents = loader.load()
23
 
24
- text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
25
  texts = text_splitter.split_documents(documents)
26
 
27
  #vector embedding
 
21
  loader = PyPDFLoader("/home/user/app/docs.pdf")
22
  documents = loader.load()
23
 
24
+ text_splitter = CharacterTextSplitter(chunk_size=800, chunk_overlap=0)
25
  texts = text_splitter.split_documents(documents)
26
 
27
  #vector embedding