FredZhang7
commited on
Update app.py
Browse files
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 = "
|
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()
|