Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update appStore/search.py
Browse files- appStore/search.py +1 -1
appStore/search.py
CHANGED
@@ -6,7 +6,7 @@ from langchain_huggingface import HuggingFaceEmbeddings
|
|
6 |
|
7 |
device = 'cuda' if cuda.is_available() else 'cpu'
|
8 |
|
9 |
-
def hybrid_search(client, query, collection_name, limit=
|
10 |
embeddings = HuggingFaceEmbeddings(
|
11 |
model_name='BAAI/bge-m3',
|
12 |
model_kwargs={'device': device},
|
|
|
6 |
|
7 |
device = 'cuda' if cuda.is_available() else 'cpu'
|
8 |
|
9 |
+
def hybrid_search(client, query, collection_name, limit=500):
|
10 |
embeddings = HuggingFaceEmbeddings(
|
11 |
model_name='BAAI/bge-m3',
|
12 |
model_kwargs={'device': device},
|