Spaces:
Runtime error
Runtime error
Richard Fan
commited on
Commit
•
6428755
1
Parent(s):
4be8cdb
fixes
Browse files- relevancy.py +1 -1
relevancy.py
CHANGED
@@ -19,7 +19,7 @@ import utils
|
|
19 |
|
20 |
def encode_prompt(query, prompt_papers):
|
21 |
"""Encode multiple prompt instructions into a single string."""
|
22 |
-
prompt = open("
|
23 |
prompt += query['interest']
|
24 |
|
25 |
for idx, task_dict in enumerate(prompt_papers):
|
|
|
19 |
|
20 |
def encode_prompt(query, prompt_papers):
|
21 |
"""Encode multiple prompt instructions into a single string."""
|
22 |
+
prompt = open("relevancy_prompt.txt").read() + "\n"
|
23 |
prompt += query['interest']
|
24 |
|
25 |
for idx, task_dict in enumerate(prompt_papers):
|