Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
import json
|
| 2 |
import streamlit as st
|
| 3 |
-
from gpt_index import
|
| 4 |
|
| 5 |
-
search_gpt_index =
|
| 6 |
|
| 7 |
# Define the app layout
|
| 8 |
st.title('GPT Search')
|
|
|
|
| 1 |
import json
|
| 2 |
import streamlit as st
|
| 3 |
+
from gpt_index import GPTSimpleVectorIndex
|
| 4 |
|
| 5 |
+
search_gpt_index = GPTSimpleVectorIndex.load_from_disk('index-4.json')
|
| 6 |
|
| 7 |
# Define the app layout
|
| 8 |
st.title('GPT Search')
|