Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ if os.path.exists("/home/user/app/data/vectorstore"):
|
|
64 |
print("Loaded Vectorstore")
|
65 |
else:
|
66 |
print("Indexing Files")
|
67 |
-
os.makedirs("
|
68 |
### 4. INDEX FILES
|
69 |
### NOTE: REMEMBER TO BATCH THE DOCUMENTS WITH MAXIMUM BATCH SIZE = 32
|
70 |
for i in range(0, len(split_documents), 32):
|
|
|
64 |
print("Loaded Vectorstore")
|
65 |
else:
|
66 |
print("Indexing Files")
|
67 |
+
os.makedirs("/home/user/app/data/vectorstore", exist_ok=True)
|
68 |
### 4. INDEX FILES
|
69 |
### NOTE: REMEMBER TO BATCH THE DOCUMENTS WITH MAXIMUM BATCH SIZE = 32
|
70 |
for i in range(0, len(split_documents), 32):
|