Spaces:
Running
Running
Update chromedb_service.py
Browse files- chromedb_service.py +1 -1
chromedb_service.py
CHANGED
@@ -68,7 +68,7 @@ def search(collection_name, query, metadata, n_results):
|
|
68 |
chroma_client = chromadb.HttpClient(host='https://stable-diffusion-engine.oneiro-lego.com')
|
69 |
collection = chroma_client.get_or_create_collection(name=collection_name)
|
70 |
results = collection.query(
|
71 |
-
query_texts=
|
72 |
where=metadata,
|
73 |
n_results=n_results
|
74 |
)
|
|
|
68 |
chroma_client = chromadb.HttpClient(host='https://stable-diffusion-engine.oneiro-lego.com')
|
69 |
collection = chroma_client.get_or_create_collection(name=collection_name)
|
70 |
results = collection.query(
|
71 |
+
query_texts=query,
|
72 |
where=metadata,
|
73 |
n_results=n_results
|
74 |
)
|