Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ api_key = os.getenv("OPENAI_API_KEY")
|
|
| 45 |
|
| 46 |
# Updated caching mechanism using st.cache_data
|
| 47 |
@st.cache_data(persist="disk")
|
| 48 |
-
|
| 49 |
|
| 50 |
def load_vector_store(file_path, store_name, force_reload=False):
|
| 51 |
try:
|
|
|
|
| 45 |
|
| 46 |
# Updated caching mechanism using st.cache_data
|
| 47 |
@st.cache_data(persist="disk")
|
| 48 |
+
|
| 49 |
|
| 50 |
def load_vector_store(file_path, store_name, force_reload=False):
|
| 51 |
try:
|