runtime error

Exit code: 1. Reason: n call_function prediction = await fn(*processed_input) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 884, in async_wrapper response = await f(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/gradio/helpers.py", line 553, in get_final_item async for x in self.fn(*args): # noqa: B007 # type: ignore File "/usr/local/lib/python3.10/site-packages/gradio/chat_interface.py", line 1095, in _examples_stream_fn async for response in generator: File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 753, in __anext__ return await anyio.to_thread.run_sync( File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 967, in run result = context.run(func, *args) File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 736, in run_sync_iterator_async return next(iterator) File "/home/user/app/app.py", line 39, in stream_fn prompt = tokenizer.apply_chat_template( File "/usr/local/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1641, in apply_chat_template rendered_chat, generation_indices = render_jinja_template( File "/usr/local/lib/python3.10/site-packages/transformers/utils/chat_template_utils.py", line 498, in render_jinja_template rendered_chat = compiled_template.render( File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 1295, in render self.environment.handle_exception() File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 942, in handle_exception raise rewrite_traceback_stack(source=source) File "<template>", line 4, in top-level template code TypeError: can only concatenate str (not "NoneType") to str

Container logs:

Fetching error logs...