zliang commited on
Commit
72171c3
1 Parent(s): 2fff144

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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': 'cuda'}
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,