jeongsk commited on
Commit
d8cad3f
1 Parent(s): d7c7d7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def setup_embeddings_and_db(project_folder: str): # Note the underscore before
46
  store = LocalFileStore(CACHE_EMBEDDINGS_PATH)
47
 
48
  model_name = "BAAI/bge-m3"
49
- model_kwargs = {"device": "mps"}
50
  encode_kwargs = {"normalize_embeddings": False}
51
  embeddings = HuggingFaceEmbeddings(
52
  model_name=model_name,
 
46
  store = LocalFileStore(CACHE_EMBEDDINGS_PATH)
47
 
48
  model_name = "BAAI/bge-m3"
49
+ model_kwargs = {"device": "cpu"}
50
  encode_kwargs = {"normalize_embeddings": False}
51
  embeddings = HuggingFaceEmbeddings(
52
  model_name=model_name,