Mattdoc99 commited on
Commit
92d1d61
·
1 Parent(s): 2c12c2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from gpt_index import SimpleDirectoryReader, GPTListIndex, readers, GPTSimpleVec
4
  from langchain import OpenAI
5
 
6
  def ask_patrick():
7
- index = GPTSimpleVectorIndex.load_from_disk('index.json')
8
  while True:
9
  query = input("Tell me about Patrick Collison?")
10
  response = index.query(query, response_mode="compact", verbose=True)
 
4
  from langchain import OpenAI
5
 
6
  def ask_patrick():
7
+ index = GPTSimpleVectorIndex.load_from_disk('index-4.json')
8
  while True:
9
  query = input("Tell me about Patrick Collison?")
10
  response = index.query(query, response_mode="compact", verbose=True)