Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ try:
|
|
28 |
|
29 |
@st.cache_resource
|
30 |
def load_chromadb():
|
31 |
-
chroma_client = chromadb.
|
32 |
path='data', settings=Settings(anonymized_telemetry=False))
|
33 |
collection = chroma_client.get_collection(name='images')
|
34 |
return collection
|
|
|
28 |
|
29 |
@st.cache_resource
|
30 |
def load_chromadb():
|
31 |
+
chroma_client = chromadb.Client(
|
32 |
path='data', settings=Settings(anonymized_telemetry=False))
|
33 |
collection = chroma_client.get_collection(name='images')
|
34 |
return collection
|