Spaces:
Sleeping
Sleeping
change formatting prompt
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ if user_input:
|
|
43 |
with open("./coding_instructions_long.txt", "r") as f:
|
44 |
coding_inst_lines = f.readlines()
|
45 |
coding_inst = " ".join(line.strip() for line in coding_inst_lines)
|
46 |
-
question = "\n\nNow it is your turn. Where does the following passage fall on the aforementioned scale?
|
47 |
with open("./examples.txt", "r") as f:
|
48 |
examples = f.read().strip()
|
49 |
full_input = coding_inst + "\n\n" + examples + question + user_input
|
|
|
43 |
with open("./coding_instructions_long.txt", "r") as f:
|
44 |
coding_inst_lines = f.readlines()
|
45 |
coding_inst = " ".join(line.strip() for line in coding_inst_lines)
|
46 |
+
question = "\n\nNow it is your turn. Where does the following passage fall on the aforementioned scale? It is imperative that you format your response like the examples; in other words, always explain your reasoning first, then give your answer in the form DIGNITY INDEX: [SCORE], where SCORE is an integer between 1 and 8.\nPassage: "
|
47 |
with open("./examples.txt", "r") as f:
|
48 |
examples = f.read().strip()
|
49 |
full_input = coding_inst + "\n\n" + examples + question + user_input
|