Visualization of stl files

Hey everyone,

I’m deploying an app in Streamlit where I would like to upload a .stl file, and show/visualize it within the app. I have done some research and I found at least one way to do it, with pyplot. However, that doesn’t allow me to rotate the object to see all the views. In the example below, I uploaded a stl file of a frog, and I can actually display the frog, but I can not rotate to see other views.

I would like to display the content of the .stl file like the molecules are displayed in this example I would appreciate any suggestions.