Update app.py
Browse files
app.py
CHANGED
|
@@ -24,6 +24,7 @@ from langchain_community.document_loaders import PyPDFDirectoryLoader
|
|
| 24 |
# Under the hood, by default this uses the UnstructuredLoader.
|
| 25 |
from langchain_community.document_loaders import DirectoryLoader
|
| 26 |
from langchain_community.document_loaders import TextLoader
|
|
|
|
| 27 |
|
| 28 |
from langchain_community.vectorstores import FAISS
|
| 29 |
# from langchain.vectorstores import Chroma
|
|
|
|
| 24 |
# Under the hood, by default this uses the UnstructuredLoader.
|
| 25 |
from langchain_community.document_loaders import DirectoryLoader
|
| 26 |
from langchain_community.document_loaders import TextLoader
|
| 27 |
+
import chardet
|
| 28 |
|
| 29 |
from langchain_community.vectorstores import FAISS
|
| 30 |
# from langchain.vectorstores import Chroma
|