Spaces:
Sleeping
Sleeping
Initial Draft
Browse files
app.py
CHANGED
@@ -4,9 +4,9 @@ import requests
|
|
4 |
import time
|
5 |
import sys
|
6 |
|
7 |
-
from
|
8 |
from langchain.text_splitter import CharacterTextSplitter
|
9 |
-
from
|
10 |
from langchain.vectorstores.faiss import FAISS
|
11 |
|
12 |
from langchain.prompts.prompt import PromptTemplate
|
|
|
4 |
import time
|
5 |
import sys
|
6 |
|
7 |
+
from langchain_community.document_loaders import PyPDFLoader
|
8 |
from langchain.text_splitter import CharacterTextSplitter
|
9 |
+
from langchain_community.embeddings import HuggingFaceEmbeddings
|
10 |
from langchain.vectorstores.faiss import FAISS
|
11 |
|
12 |
from langchain.prompts.prompt import PromptTemplate
|