Traceback (most recent call last):
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/gradio/queueing.py", line 536, in process_events
    response = await route_utils.call_process_api(
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/gradio/route_utils.py", line 322, in call_process_api
    output = await app.get_blocks().process_api(
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/gradio/blocks.py", line 1935, in process_api
    result = await self.call_function(
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/gradio/blocks.py", line 1532, in call_function
    prediction = await utils.async_iteration(iterator)
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/gradio/utils.py", line 671, in async_iteration
    return await iterator.__anext__()
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/gradio/utils.py", line 776, in asyncgen_wrapper
    response = await iterator.__anext__()
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/gradio/chat_interface.py", line 653, in _stream_fn
    first_response = await async_iteration(generator)
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/gradio/utils.py", line 671, in async_iteration
    return await iterator.__anext__()
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/gradio/utils.py", line 664, in __anext__
    return await anyio.to_thread.run_sync(
  File "/maahr/home/ameen/anaconda3/envs/mistral/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 "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
    return await future
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run
    result = context.run(func, *args)
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/gradio/utils.py", line 647, in run_sync_iterator_async
    return next(iterator)
  File "/maahr/home/ameen/samples_rocket/rocketgpt/chatbot.py", line 216, in model_inference
    text = processor.apply_chat_template(
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/transformers/processing_utils.py", line 1072, in apply_chat_template
    return self.tokenizer.apply_chat_template(
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/transformers/tokenization_utils_base.py", line 1875, in apply_chat_template
    rendered_chat = compiled_template.render(
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 39, in top-level template code
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/jinja2/sandbox.py", line 393, in call
    return __context.call(__obj, *args, **kwargs)
  File "/maahr/home/ameen/anaconda3/envs/mistral/lib/python3.10/site-packages/transformers/utils/chat_template_utils.py", line 410, in raise_exception
    raise jinja2.exceptions.TemplateError(message)
jinja2.exceptions.TemplateError: Prompting with images is incompatible with system messages.