I was trying to make my notebook run in the Nb-viewer with the interaction feature.
I was following this reference :
https://ipywidgets.readthedocs.io/en/latest/embedding.html#save-notebook-widget-state
This is the link of my code :
https://gist.github.com/Pabla007/408e02b9a646d89fdf98e6e3615afd1b
This is my error screenshot :

Due to this error the data is not linked with the output and as a result it is not rendered.

Can you tell me what is going wrong I google the error but i was not able to found any solution pointing to this error.