Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ class StopOnTokens(StoppingCriteria):
|
|
38 |
return True
|
39 |
return False
|
40 |
|
41 |
-
def format_prompt(
|
42 |
prompt = ""
|
43 |
if history:
|
44 |
for user_prompt, bot_response in history:
|
|
|
38 |
return True
|
39 |
return False
|
40 |
|
41 |
+
def format_prompt(message, history):
|
42 |
prompt = ""
|
43 |
if history:
|
44 |
for user_prompt, bot_response in history:
|