Enhance headless rendering setup in app.py by adding necessary libraries and environment variables, and update usage instructions for 3D model preview in Chrome.
Refactor inference functions in app.py for improved structure and clarity; unify skeleton and skin inference processes, streamline imports, and enhance output handling.
Refactor UniRigDemo to replace bash scripts with Python functions for skeleton and skinning generation; update requirements.txt to remove unnecessary dependencies.