Trying to get a pyvista 3D view

Hello,
I am trying to get a pyvista 3D view. I am almost there, I can st.write the html code and all I need is to get st.components.v1.html(model_html.getvalue(),height=400) to work. Yet, when I hit that line of code, either I get a blank space where the 3D view should go, or on changing a parameter, I get a crash. The app code is at: TopologicST/pyvista/topologicpy at main · wassimj/TopologicST · GitHub
Thanks for any help you can offer.

The link to that repo is broken.

But here is a related thread to export a pyvista plotter as threejs and show it in streamlit: