when submit the content by pressing the button,(run web-demo.py), the fault occur。
error content:
File "c:\Users\lzj_r\chatglm.cpp\chatglm_cpp__init__.py", line 68, in chat
input_ids = self.tokenizer.apply_chat_template(messages, max_context_length)
AttributeError: 'NoneType' object has no attribute 'apply_chat_template'
when submit the content by pressing the button,(run web-demo.py), the fault occur。
error content: File "c:\Users\lzj_r\chatglm.cpp\chatglm_cpp__init__.py", line 68, in chat input_ids = self.tokenizer.apply_chat_template(messages, max_context_length) AttributeError: 'NoneType' object has no attribute 'apply_chat_template'