Solshine commited on
Commit
bcb9467
·
verified ·
1 Parent(s): 28c69cd

Update app.py

Browse files

Overhauled for new ChromaDB version

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,8 +5,8 @@ from chromadb.config import Settings
5
 
6
  from chromadb import PersistentClient
7
 
8
- client_db = PersistentClient(path="chromadb_directory")
9
-
10
 
11
  # Load your collection
12
  collection = client_db.get_collection("my_collection")
 
5
 
6
  from chromadb import PersistentClient
7
 
8
+ # Set the correct path to chroma.sqlite3 (according to the repo structure)
9
+ client_db = PersistentClient(path="./chromadb_directory/chromadb_file/chroma.sqlite3")
10
 
11
  # Load your collection
12
  collection = client_db.get_collection("my_collection")