davidepanza commited on
Commit
ba26c78
·
verified ·
1 Parent(s): bd40cc3

Update src/collections_setup.py

Browse files
Files changed (1) hide show
  1. src/collections_setup.py +2 -2
src/collections_setup.py CHANGED
@@ -14,7 +14,7 @@ def get_chroma_client():
14
  return chromadb.EphemeralClient()
15
 
16
 
17
- @st.cache_resource
18
  def initialize_chroma_client():
19
  """
20
  Initialize ChromaDB client and store in Streamlit's resource cache.
@@ -23,7 +23,7 @@ def initialize_chroma_client():
23
  return get_chroma_client()
24
 
25
 
26
- @st.cache_resource
27
  def initialize_chromadb(embedding_model):
28
  """
29
  Initialize ChromaDB client and embedding function.
 
14
  return chromadb.EphemeralClient()
15
 
16
 
17
+ #@st.cache_resource
18
  def initialize_chroma_client():
19
  """
20
  Initialize ChromaDB client and store in Streamlit's resource cache.
 
23
  return get_chroma_client()
24
 
25
 
26
+ #@st.cache_resource
27
  def initialize_chromadb(embedding_model):
28
  """
29
  Initialize ChromaDB client and embedding function.