mirror of https://github.com/InternLM/InternLM
Update web_demo.py
parent
0b00fd331d
commit
dd9d69edbf
|
@ -71,7 +71,7 @@ def combine_history(prompt, system=True):
|
|||
raise RuntimeError
|
||||
total_prompt += cur_prompt
|
||||
total_prompt = total_prompt + cur_query_prompt.replace("{user}", prompt)
|
||||
print(messages, total_prompt)
|
||||
# print(messages, total_prompt)
|
||||
return total_prompt
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue