FredZhang7
commited on
Commit
•
40c9537
1
Parent(s):
26c8edd
Update app.py
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def generate_prompt(instruction, input=None, history=None):
|
|
26 |
if pair[0] is not None and pair[1] is not None and len(pair[1]) > 0:
|
27 |
input += f"{pair[0]},{pair[1]},"
|
28 |
input += f"{instruction}"
|
29 |
-
instruction = "Generate a Response using the following information."
|
30 |
if input and len(input) > 0:
|
31 |
input = (
|
32 |
input.strip()
|
|
|
26 |
if pair[0] is not None and pair[1] is not None and len(pair[1]) > 0:
|
27 |
input += f"{pair[0]},{pair[1]},"
|
28 |
input += f"{instruction}"
|
29 |
+
instruction = "Generate a pirate Response using the following information."
|
30 |
if input and len(input) > 0:
|
31 |
input = (
|
32 |
input.strip()
|