Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,11 @@ CHROMA_PATH = "chroma"
|
|
16 |
DATA_PATH = "" # Update this to your actual data path
|
17 |
|
18 |
def main():
|
19 |
-
|
|
|
|
|
|
|
|
|
20 |
generate_data_store()
|
21 |
|
22 |
def generate_data_store():
|
|
|
16 |
DATA_PATH = "" # Update this to your actual data path
|
17 |
|
18 |
def main():
|
19 |
+
if not os.path.exists("model_cache"):
|
20 |
+
os.makedirs("model_cache")
|
21 |
+
if not os.path.exists("chroma"):
|
22 |
+
os.makedirs("chroma")
|
23 |
+
|
24 |
generate_data_store()
|
25 |
|
26 |
def generate_data_store():
|