Spaces:
Running
Running
Update app.py
Browse filesmoved guidance string out of loop
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 |
-
|
| 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
|