Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,8 @@ from langchain.document_loaders import (
|
|
19 |
)
|
20 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
21 |
from langchain.docstore.document import Document
|
|
|
|
|
22 |
from llama_cpp import Llama
|
23 |
|
24 |
|
|
|
19 |
)
|
20 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
21 |
from langchain.docstore.document import Document
|
22 |
+
from sentence_transformers import SentenceTransformer
|
23 |
+
from sentence_transformers.util import cos_sim
|
24 |
from llama_cpp import Llama
|
25 |
|
26 |
|