JBHF commited on
Commit
f7abdbb
1 Parent(s): c98dd30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -91,7 +91,8 @@ if "vector" not in st.session_state:
91
 
92
  # JB:
93
  # https://python.langchain.com/docs/modules/data_connection/document_loaders/file_directory
94
- text_loader_kwargs={'autodetect_encoding': True}
 
95
  path = '../'
96
  # loader = DirectoryLoader(path, glob="**/*.pdf", loader_cls=TextLoader, loader_kwargs=text_loader_kwargs)
97
  # PyPDFDirectoryLoader (TEST):
 
91
 
92
  # JB:
93
  # https://python.langchain.com/docs/modules/data_connection/document_loaders/file_directory
94
+ # text_loader_kwargs={'autodetect_encoding': True}
95
+ text_loader_kwargs={'autodetect_encoding': False}
96
  path = '../'
97
  # loader = DirectoryLoader(path, glob="**/*.pdf", loader_cls=TextLoader, loader_kwargs=text_loader_kwargs)
98
  # PyPDFDirectoryLoader (TEST):