Spaces:
Sleeping
Sleeping
Ayush Rai
commited on
Commit
·
ec103dc
1
Parent(s):
c71948c
Fix write paths for HF Spaces
Browse files- agent_startup.py +1 -1
agent_startup.py
CHANGED
|
@@ -30,7 +30,7 @@ embedding_model = HuggingFaceEmbeddings(
|
|
| 30 |
cache_folder="/tmp/hf_cache"
|
| 31 |
)
|
| 32 |
|
| 33 |
-
persist_dir = os.getenv("PERSIST_DIR", "/
|
| 34 |
os.makedirs(persist_dir, exist_ok=True)
|
| 35 |
|
| 36 |
print("loading vectordb")
|
|
|
|
| 30 |
cache_folder="/tmp/hf_cache"
|
| 31 |
)
|
| 32 |
|
| 33 |
+
persist_dir = os.getenv("PERSIST_DIR", "/tmp/chroma_db")
|
| 34 |
os.makedirs(persist_dir, exist_ok=True)
|
| 35 |
|
| 36 |
print("loading vectordb")
|