Update app.py
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ def talk(prompt, history):
|
|
131 |
# formatted_prompt_with_history = add_history(formatted_prompt, history)
|
132 |
|
133 |
# formatted_prompt_with_history = formatted_prompt_with_history[:600] # to avoid memory issue
|
134 |
-
print(formatted_prompt_with_history)
|
135 |
messages = [{"role":"system","content":SYS_PROMPT},{"role":"user","content":formatted_prompt}]
|
136 |
# binding the system context and new prompt for LLM
|
137 |
# the chat template structure should be based on text generation model format
|
|
|
131 |
# formatted_prompt_with_history = add_history(formatted_prompt, history)
|
132 |
|
133 |
# formatted_prompt_with_history = formatted_prompt_with_history[:600] # to avoid memory issue
|
134 |
+
# print(formatted_prompt_with_history)
|
135 |
messages = [{"role":"system","content":SYS_PROMPT},{"role":"user","content":formatted_prompt}]
|
136 |
# binding the system context and new prompt for LLM
|
137 |
# the chat template structure should be based on text generation model format
|