Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from gpt_index import GPTSimpleVectorIndex
|
|
| 4 |
|
| 5 |
def search_gpt_index():
|
| 6 |
# Load the GPT index from the file
|
| 7 |
-
with open('index.json', 'r') as f:
|
| 8 |
index_data = json.load(f)
|
| 9 |
gpt_index = GPTSimpleVectorIndex(index_data)
|
| 10 |
|
|
|
|
| 4 |
|
| 5 |
def search_gpt_index():
|
| 6 |
# Load the GPT index from the file
|
| 7 |
+
with open('index-4.json', 'r') as f:
|
| 8 |
index_data = json.load(f)
|
| 9 |
gpt_index = GPTSimpleVectorIndex(index_data)
|
| 10 |
|