Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- 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 = "
|
| 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:
|