Anne31415 commited on
Commit
4981968
1 Parent(s): ef49b10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ api_key = os.getenv("OPENAI_API_KEY")
71
 
72
 
73
  # Updated load_vector_store function with Streamlit text outputs and directory handling for Git
74
- @st.cache_data(persist="disk")
75
  def load_vector_store(file_path, store_name, force_reload=False):
76
  local_repo_path = "Private_Book"
77
  vector_store_path = os.path.join(local_repo_path, f"{store_name}.pkl")
 
71
 
72
 
73
  # Updated load_vector_store function with Streamlit text outputs and directory handling for Git
74
+ #@st.cache_data(persist="disk")
75
  def load_vector_store(file_path, store_name, force_reload=False):
76
  local_repo_path = "Private_Book"
77
  vector_store_path = os.path.join(local_repo_path, f"{store_name}.pkl")