Spaces:
Build error
Build error
test code update
Browse files
app.py
CHANGED
|
@@ -26,7 +26,8 @@ from search import *
|
|
| 26 |
# Chroma Connections
|
| 27 |
client = chromadb.PersistentClient(path = "/home/user/embeddings")
|
| 28 |
|
| 29 |
-
|
|
|
|
| 30 |
collection = client.get_or_create_collection(name="data",metadata={"hnsw:space": "l2"})
|
| 31 |
|
| 32 |
|
|
|
|
| 26 |
# Chroma Connections
|
| 27 |
client = chromadb.PersistentClient(path = "/home/user/embeddings")
|
| 28 |
|
| 29 |
+
for item in client.list_collections():
|
| 30 |
+
print(item)
|
| 31 |
collection = client.get_or_create_collection(name="data",metadata={"hnsw:space": "l2"})
|
| 32 |
|
| 33 |
|