Dekode commited on
Commit
c32b057
·
verified ·
1 Parent(s): a0aac2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from langchain.chains import RetrievalQA
7
  from langchain_community.llms import HuggingFaceHub
8
 
9
  def make_vectorstore(embeddings):
10
- loader = PyPDFDirectoryLoader("/content/data")
11
  documents = loader.load()
12
  text_splitter = CharacterTextSplitter(chunk_size=400, chunk_overlap=0)
13
  texts = text_splitter.split_documents(documents)
 
7
  from langchain_community.llms import HuggingFaceHub
8
 
9
  def make_vectorstore(embeddings):
10
+ loader = PyPDFDirectoryLoader("data")
11
  documents = loader.load()
12
  text_splitter = CharacterTextSplitter(chunk_size=400, chunk_overlap=0)
13
  texts = text_splitter.split_documents(documents)