Commit ·
a01173b
1
Parent(s): 0bf5d38
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ def initialize_index(llm_name, model_temperature, api_key):
|
|
| 84 |
|
| 85 |
service_context = ServiceContext.from_defaults(llm_predictor=LLMPredictor(llm=llm))
|
| 86 |
|
| 87 |
-
index =
|
| 88 |
"./index.json", service_context=service_context
|
| 89 |
)
|
| 90 |
|
|
|
|
| 84 |
|
| 85 |
service_context = ServiceContext.from_defaults(llm_predictor=LLMPredictor(llm=llm))
|
| 86 |
|
| 87 |
+
index = GPTSimpleVectorIndex.load_from_disk(
|
| 88 |
"./index.json", service_context=service_context
|
| 89 |
)
|
| 90 |
|