Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ import time
|
|
14 |
|
15 |
# import e5-large-v2 embedding model
|
16 |
model_name = "intfloat/e5-large-v2"
|
17 |
-
model_kwargs = {'device': '
|
18 |
encode_kwargs = {'normalize_embeddings': False}
|
19 |
embeddings = HuggingFaceEmbeddings(
|
20 |
model_name=model_name,
|
|
|
14 |
|
15 |
# import e5-large-v2 embedding model
|
16 |
model_name = "intfloat/e5-large-v2"
|
17 |
+
model_kwargs = {'device': 'cpu'}
|
18 |
encode_kwargs = {'normalize_embeddings': False}
|
19 |
embeddings = HuggingFaceEmbeddings(
|
20 |
model_name=model_name,
|