Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ from search import *
|
|
25 |
|
26 |
# Chroma Connections
|
27 |
client = chromadb.PersistentClient(path = "embeddings")
|
28 |
-
collection = client.
|
29 |
|
30 |
|
31 |
def generate_hash(content):
|
|
|
25 |
|
26 |
# Chroma Connections
|
27 |
client = chromadb.PersistentClient(path = "embeddings")
|
28 |
+
collection = client.get_or_create_collection(name="data",metadata={"hnsw:space": "l2"})
|
29 |
|
30 |
|
31 |
def generate_hash(content):
|