Error when running gradio locally in jupyter notebook:

Hi there,
this must be a very silly thing that i am doing wrong:

i want to run the gradio interface with my image classification model locally in a jupyter notebook,
but i get this error message:

jinja2.exceptions.TemplateAssertionError: No filter named ‘toorjson’.

any idea what is going on?
thank you