Namitg02 commited on
Commit
f0cb2fa
·
verified ·
1 Parent(s): 524eae4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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