That1BrainCell commited on
Commit
52113a0
·
verified ·
1 Parent(s): e42b52b
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -24,10 +24,13 @@ from search import *
24
 
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):
32
  return hashlib.sha256(content.encode('utf-8')).hexdigest()
33
 
 
24
 
25
 
26
  # Chroma Connections
27
+ client = chromadb.PersistentClient(path = "/home/user/embeddings")
28
+
29
+ print(client.list_collections())
30
  collection = client.get_or_create_collection(name="data",metadata={"hnsw:space": "l2"})
31
 
32
 
33
+
34
  def generate_hash(content):
35
  return hashlib.sha256(content.encode('utf-8')).hexdigest()
36