Mattdoc99 commited on
Commit
91b8fd6
·
1 Parent(s): e64f9f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import json
2
  import streamlit as st
3
- from gpt_index import GPTListIndex
4
 
5
- search_gpt_index = GPTListIndex.load_from_disk('index-4.json')
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')