dlflannery commited on
Commit
3cfa2a4
·
verified ·
1 Parent(s): 7c17db1

Update app.py

Browse files

moved guidance string out of loop

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -608,7 +608,7 @@ def chat(prompt, user_window, pwd_window, past, response, gptModel, clip_text, d
608
  bible_list.append(line)
609
  if bad_count < 5:
610
  rag_txt += line
611
- guidance = '''It is a group of bible passages.
612
  Each group is headed by (Passage: Book Name, Chapter 3, Verses)'''
613
  prompt = rag_txt + '.\n ' + prompt + '\nGive higher priority to the information just provided.' \
614
  + guidance
 
608
  bible_list.append(line)
609
  if bad_count < 5:
610
  rag_txt += line
611
+ guidance = '''It is a group of bible passages.
612
  Each group is headed by (Passage: Book Name, Chapter 3, Verses)'''
613
  prompt = rag_txt + '.\n ' + prompt + '\nGive higher priority to the information just provided.' \
614
  + guidance