Unable to update based on slide

ALL software version info

It seems that panel is not working correctly when it comes to updating based on a slide

Software Version Info
in vs code .ipynb file
!pip install panel>=1.7.1 watchfiles bokeh>=3.3.0 jupyter_bokeh>=4.0.0 hvplot==0.11.0 matplotlib ipython --user
Panel version: 1.7.1
Bokeh version: 3.7.3
Python version: 3.10.11 | packaged by conda-forge | (main, May 10 2023, 18:58:44) [GCC 11.3.0]
Jupyter Notebook version: 6.5.4
IPython version: 8.13.2

Expected number of stars to change when slide number changes

import panel as pn

pn.extension()

def model(n=5):
    return "⭐" * n

slider = pn.widgets.IntSlider(value=5, start=1, end=5)
interactive_model = pn.bind(model, n=slider)
layout = pn.Column(slider, interactive_model)
layout.servable()

Screenshots or screencasts of the bug in action

Image

  • I may be interested in making a pull request to address this

Can you try trying it out with layout.show() and if that doesn’t work, do you have any browser console errors?

layout.show()

works since it shows things in a browser (when i execute with local kernel), however since I work in a remote kernel (without ssh), i can’t really see the localhost created