JBHF commited on
Commit
a241b28
1 Parent(s): fb1d0f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -97,7 +97,8 @@ if "vector" not in st.session_state:
97
  # loader = DirectoryLoader(path, glob="**/*.pdf", loader_cls=TextLoader, loader_kwargs=text_loader_kwargs)
98
  # PyPDFDirectoryLoader (TEST):
99
  # loader = PyPDFDirectoryLoader(path, glob="**/*.pdf", loader_cls=TextLoader, loader_kwargs=text_loader_kwargs)
100
- loader = PyPDFDirectoryLoader(path, glob="**/*.pdf", loader_kwargs=text_loader_kwargs)
 
101
  docs = loader.load()
102
  st.session_state.docs = docs
103
 
 
97
  # loader = DirectoryLoader(path, glob="**/*.pdf", loader_cls=TextLoader, loader_kwargs=text_loader_kwargs)
98
  # PyPDFDirectoryLoader (TEST):
99
  # loader = PyPDFDirectoryLoader(path, glob="**/*.pdf", loader_cls=TextLoader, loader_kwargs=text_loader_kwargs)
100
+ # loader = PyPDFDirectoryLoader(path, glob="**/*.pdf", loader_kwargs=text_loader_kwargs)
101
+ loader = PyPDFDirectoryLoader(path, glob="**/*.pdf")
102
  docs = loader.load()
103
  st.session_state.docs = docs
104