Mikeplockhart commited on
Commit
c85c204
1 Parent(s): 5ae5a17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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, encode_kwargs=encode_kwargs, model_kwargs=model_kwargs
 
 
 
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(