dtrejopizzo commited on
Commit
721ab63
·
1 Parent(s): 92e1851

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def construct_index(directory_path):
29
 
30
  def chatbot(input_text):
31
  #query_engine = index.as_query_engine()
32
- index = GPTSimpleVectorIndex.load_from_disk('index.json')
33
  response = index.query(input_text, response_mode="compact")
34
  return response.response
35
 
 
29
 
30
  def chatbot(input_text):
31
  #query_engine = index.as_query_engine()
32
+ index = GPTVectorStoreIndex.load_from_disk('index.json')
33
  response = index.query(input_text, response_mode="compact")
34
  return response.response
35