Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import chromadb
|
|
4 |
from chromadb.config import Settings
|
5 |
|
6 |
# Initialize ChromaDB client
|
7 |
-
client_db = chromadb.Client(
|
8 |
|
9 |
# Load your collection
|
10 |
collection = client_db.get_collection("my_collection")
|
|
|
4 |
from chromadb.config import Settings
|
5 |
|
6 |
# Initialize ChromaDB client
|
7 |
+
client_db = chromadb.Client(persist_directory="chromadb_directory") # Updated initialization
|
8 |
|
9 |
# Load your collection
|
10 |
collection = client_db.get_collection("my_collection")
|