Spaces:
Runtime error
Runtime error
Update app.py
#2
by
alidenewade
- opened
No description provided.
The original script failed because it contained Jupyter Notebook-specific code (ipywidgets
, viewer.show()
) that is incompatible with Streamlit and Hugging Face Spaces.
The fix involved removing all Jupyter elements and restructuring the code as a standard Streamlit application. Crucially, the 3D viewer rendering was updated to use st.components.v1.html()
, ensuring it displays correctly in a web app environment.