Spaces:
Sleeping
Sleeping
kingabzpro
commited on
Commit
•
f290948
1
Parent(s):
27ac14c
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ embed_model = HuggingFaceEmbeddings(model_name="mixedbread-ai/mxbai-embed-large-
|
|
19 |
# Load the vector store from a local directory
|
20 |
vectorstore = Chroma(
|
21 |
"Starwars_Vectordb",
|
22 |
-
|
23 |
)
|
24 |
|
25 |
# Convert the vector store to a retriever
|
|
|
19 |
# Load the vector store from a local directory
|
20 |
vectorstore = Chroma(
|
21 |
"Starwars_Vectordb",
|
22 |
+
embedding_function=embed_model,
|
23 |
)
|
24 |
|
25 |
# Convert the vector store to a retriever
|