Mpavan45 commited on
Commit
0f4d876
·
verified ·
1 Parent(s): 84b23b5

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -39,8 +39,8 @@ GOOGLE_API_KEY = "AIzaSyBm0GOvYox4OyRG1WFOK7FT5fnNCHfubns"
39
  @st.cache_resource
40
  def initialize_vectorstore(api_key):
41
  embedding = GoogleGenerativeAIEmbeddings(model="models/embedding-001", google_api_key=api_key)
42
- zip_path = "./chroma_db1.zip"
43
- extract_dir = "chroma_db2"
44
  if os.path.exists(zip_path):
45
  try:
46
  with zipfile.ZipFile(zip_path, 'r') as zip_ref:
 
39
  @st.cache_resource
40
  def initialize_vectorstore(api_key):
41
  embedding = GoogleGenerativeAIEmbeddings(model="models/embedding-001", google_api_key=api_key)
42
+ zip_path = "src/chroma_db1.zip"
43
+ extract_dir = "src/chroma_db2"
44
  if os.path.exists(zip_path):
45
  try:
46
  with zipfile.ZipFile(zip_path, 'r') as zip_ref: