FredZhang7 commited on
Commit
359bcf8
1 Parent(s): a56ad55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def generate_prompt(instruction, input=None, history=None):
27
  if pair[0] is not None and pair[1] is not None and len(pair[1]) > 0:
28
  input += f"{pair[0]},{pair[1]},"
29
  input = input[:-1] + f". {instruction}"
30
- instruction = "Respond to the following question."
31
  if input and len(input) > 0:
32
  input = (
33
  input.strip()
 
27
  if pair[0] is not None and pair[1] is not None and len(pair[1]) > 0:
28
  input += f"{pair[0]},{pair[1]},"
29
  input = input[:-1] + f". {instruction}"
30
+ instruction = "Generate a Response to the **last** question below."
31
  if input and len(input) > 0:
32
  input = (
33
  input.strip()