ashish-001 commited on
Commit
871d03f
·
verified ·
1 Parent(s): 5e4b1fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ try:
28
 
29
  @st.cache_resource
30
  def load_chromadb():
31
- chroma_client = chromadb.PersistentClient(
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