Two items for you.
- Do not say it is not working - say what it is doing different from what you expected.
- That said - I think you are claiming the interactivity is not working - I believe that is because you are using python code instead of javascript for your interactivity and the HTML file cannot do that for you.
I have not wrapped my head around param at this point, and I did not find the documentation for doing a javascript link with param. Check out my jslink solution for an similar issue at https://discourse.holoviz.org/t/using-jslink-to-synchronize-tabs-and-pn-column-contents-to-avoid-requiring-python-to-be-running/2912/2
I hope that helps.