IlyaGusev commited on
Commit
6d69df2
1 Parent(s): c8a296f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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