pd4consultingmyles commited on
Commit
7beeafa
·
1 Parent(s): 65d21ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ with gr.Blocks() as demo:
57
 
58
 
59
  # Takes in the input from the user to deliver responses
60
- index = GPTSimpleVectorIndex.load_from_disk('index.json')
61
  message = ' '.join([message['content'] for message in messages_history])
62
  response = index.query(message, response_mode="compact", text_qa_template = QA_PROMPT)
63
  return response.response, messages_history
 
57
 
58
 
59
  # Takes in the input from the user to deliver responses
60
+ index = GPTSimpleVectorIndex.load_from_disk('index_demo.json')
61
  message = ' '.join([message['content'] for message in messages_history])
62
  response = index.query(message, response_mode="compact", text_qa_template = QA_PROMPT)
63
  return response.response, messages_history