peterpull commited on
Commit
d19a684
·
1 Parent(s): 827ff37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def get_index(index_file_path):
17
 
18
 
19
  def chatbot(input_text, mentioned_person='Mediator John Haynes'):
20
- index = get_index('/index/indexsmall.json')
21
  prompt = f"You are {mentioned_person}: {input_text}\n\n At the end of your answer ask a provocative question."
22
  response = index.query(prompt, response_mode="compact")
23
 
 
17
 
18
 
19
  def chatbot(input_text, mentioned_person='Mediator John Haynes'):
20
+ index = get_index('./index/indexsmall.json')
21
  prompt = f"You are {mentioned_person}: {input_text}\n\n At the end of your answer ask a provocative question."
22
  response = index.query(prompt, response_mode="compact")
23