Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
b62f28b
1
Parent(s):
b04bcc7
increase cache size
Browse files
main.py
CHANGED
@@ -36,7 +36,7 @@ if sys.platform == "darwin":
|
|
36 |
LOCAL = True
|
37 |
DATA_DIR = "data" if LOCAL else "/data"
|
38 |
# Configure cache
|
39 |
-
cache.setup("mem://", size_limit="
|
40 |
|
41 |
# Initialize ChromaDB client
|
42 |
client = chromadb.PersistentClient(path=f"{DATA_DIR}/chroma")
|
|
|
36 |
LOCAL = True
|
37 |
DATA_DIR = "data" if LOCAL else "/data"
|
38 |
# Configure cache
|
39 |
+
cache.setup("mem://", size_limit="5gb")
|
40 |
|
41 |
# Initialize ChromaDB client
|
42 |
client = chromadb.PersistentClient(path=f"{DATA_DIR}/chroma")
|