Spaces:
Sleeping
Sleeping
Mikeplockhart
commited on
Commit
•
c85c204
1
Parent(s):
5ae5a17
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,10 @@ model_name = "Snowflake/snowflake-arctic-embed-xs"
|
|
39 |
model_kwargs = {"device": "cpu"}
|
40 |
encode_kwargs = {"normalize_embeddings": True}
|
41 |
hf_embedding = HuggingFaceEmbeddings(
|
42 |
-
model_name=model_name,
|
|
|
|
|
|
|
43 |
)
|
44 |
|
45 |
qdrant = Qdrant.from_documents(
|
|
|
39 |
model_kwargs = {"device": "cpu"}
|
40 |
encode_kwargs = {"normalize_embeddings": True}
|
41 |
hf_embedding = HuggingFaceEmbeddings(
|
42 |
+
model_name=model_name,
|
43 |
+
encode_kwargs=encode_kwargs,
|
44 |
+
model_kwargs=model_kwargs,
|
45 |
+
show_progress=True
|
46 |
)
|
47 |
|
48 |
qdrant = Qdrant.from_documents(
|