Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,7 @@ def respond(
|
|
35 |
try:
|
36 |
# Build the conversation prompt
|
37 |
prompt = ''
|
|
|
38 |
if (len(system_message)>0):
|
39 |
prompt = "<|assistant|>"+system_message+f"<|end|>\n"
|
40 |
for val in history:
|
|
|
35 |
try:
|
36 |
# Build the conversation prompt
|
37 |
prompt = ''
|
38 |
+
messages = []
|
39 |
if (len(system_message)>0):
|
40 |
prompt = "<|assistant|>"+system_message+f"<|end|>\n"
|
41 |
for val in history:
|