Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ embeddings = SentenceTransformer("Cheselle/finetuned-arctic-sentence")
|
|
49 |
|
50 |
vectorstore = Qdrant.from_documents(
|
51 |
documents=combined_documents,
|
52 |
-
embedding=embeddings,
|
53 |
location=":memory:",
|
54 |
collection_name="ai_policy"
|
55 |
)
|
|
|
49 |
|
50 |
vectorstore = Qdrant.from_documents(
|
51 |
documents=combined_documents,
|
52 |
+
embedding=embeddings.encode,
|
53 |
location=":memory:",
|
54 |
collection_name="ai_policy"
|
55 |
)
|