Spaces:
Paused
Paused
Commit
·
3941a93
1
Parent(s):
5f9e3b2
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def construct_index(directory_path):
|
|
22 |
|
23 |
index = GPTVectorStoreIndex(documents, llm_predictor=llm_predictor, prompt_helper=prompt_helper)
|
24 |
|
25 |
-
index.save_to_disk('index.json')
|
26 |
index.storage_context.persist(persist_dir="index.json")
|
27 |
|
28 |
return index
|
|
|
22 |
|
23 |
index = GPTVectorStoreIndex(documents, llm_predictor=llm_predictor, prompt_helper=prompt_helper)
|
24 |
|
25 |
+
#index.save_to_disk('index.json')
|
26 |
index.storage_context.persist(persist_dir="index.json")
|
27 |
|
28 |
return index
|