tutrinh commited on
Commit
6dd7e5a
·
1 Parent(s): 9ce16a6

change formatting prompt

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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? Explain your reasoning first, then give your answer in the form DIGNITY INDEX: [SCORE], where SCORE is an integer between 1 and 8. It is imperative that you follow this response structure. Passage:\n"
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