ayush5710 commited on
Commit
fd77a67
1 Parent(s): 64b8644

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from langchain.vectorstores import FAISS
9
  from langchain.memory import ConversationBufferMemory
10
 
11
  #load the pdf files from the path
12
- loader = DirectoryLoader('data/',glob="*.pdf",loader_cls=PyPDFLoader)
13
  documents = loader.load()
14
 
15
  #split text into chunks
 
9
  from langchain.memory import ConversationBufferMemory
10
 
11
  #load the pdf files from the path
12
+ loader = DirectoryLoader('/',glob="*.pdf",loader_cls=PyPDFLoader)
13
  documents = loader.load()
14
 
15
  #split text into chunks