Update pages/bot.py
Browse files- pages/bot.py +3 -0
pages/bot.py
CHANGED
@@ -5,6 +5,9 @@ from langchain.text_splitter import CharacterTextSplitter
|
|
5 |
from langchain.document_loaders import DirectoryLoader, PyPDFLoader
|
6 |
import os
|
7 |
from PyPDF2 import PdfReader
|
|
|
|
|
|
|
8 |
|
9 |
###########
|
10 |
#pip install faiss-cpu
|
|
|
5 |
from langchain.document_loaders import DirectoryLoader, PyPDFLoader
|
6 |
import os
|
7 |
from PyPDF2 import PdfReader
|
8 |
+
from transformers import pipeline
|
9 |
+
from transformers import AutoModel
|
10 |
+
|
11 |
|
12 |
###########
|
13 |
#pip install faiss-cpu
|