Update src/models/plot_similarity_finder.py
Browse filesCorregí ruta de './streamlit/plot_embeddings'
src/models/plot_similarity_finder.py
CHANGED
@@ -9,7 +9,7 @@ from langchain.embeddings.sentence_transformer import SentenceTransformerEmbeddi
|
|
9 |
embedding_function = SentenceTransformerEmbeddings(model_name="sentence-t5-large")
|
10 |
|
11 |
# Loading vectorstore
|
12 |
-
db = FAISS.load_local('
|
13 |
|
14 |
|
15 |
# Find the most similar plots to the user plot/input
|
|
|
9 |
embedding_function = SentenceTransformerEmbeddings(model_name="sentence-t5-large")
|
10 |
|
11 |
# Loading vectorstore
|
12 |
+
db = FAISS.load_local('./streamlit/plot_embeddings', embedding_function)
|
13 |
|
14 |
|
15 |
# Find the most similar plots to the user plot/input
|