File "/usr/local/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "/profile-gpt/dashboard.py", line 60, in <module>
num_tokens = functions.get_number_of_tokens(str(processed_messages), FAST_MODEL)
File "/profile-gpt/utils/functions.py", line 91, in get_number_of_tokens
encoding = tiktoken.encoding_for_model(model_name)
File "/usr/local/lib/python3.8/site-packages/tiktoken/model.py", line 66, in encoding_for_model
if model_name.startswith(model_prefix):
AttributeError: 'NoneType' object has no attribute 'startswith'
Traceback: