Change from bokeh.models.Panel to bokeh.model.TabPanel to be compatible with bokeh>3, see here and here