Replace install_croco function with a direct pip installation command for the curope model dependency in app.py, streamlining the installation process and removing the previous compilation logic.
Enhance install_croco function in app.py by adding checks for source file existence, improved CUDA architecture handling, and a cleanup process for the build directory. Implement an alternative compilation method using setup.py if the primary method fails, ensuring robust error handling and better user feedback during the installation of the curope CUDA extension.
Refactor install_croco function in app.py to compile the curope CUDA extension using torch.utils.cpp_extension.load() instead of subprocess calls, improving compatibility with zerogpu. Added error handling and fallback to PyTorch implementation if compilation fails.
Refactor app.py to encapsulate the automatic installation of the curpo model dependency within a dedicated function, utilizing GPU context and autocasting for improved performance.
Implement visualization directory management in app.py and navigation.py. Added clear_visualization_directory function to prevent users from seeing each other's generated images. Updated IMAGE_PATHS with new sample images and removed unused imports.
Enhance app.py UI with new logo and updated title; add demo assets to .gitattributes. Remove unused main function from navigation.py and streamline .gitignore.
Update app.py and navigation.py for UI enhancements and image path correction. Changed primary color theme in app.py and updated image path in navigation.py to reflect new asset.
Refactor inference configuration and pipeline logic; removed unused parameters and improved frame selection process. Updated inference settings in inference.yaml and streamlined surfel model initialization in pipeline.py.
Update image assets and refactor app.py for improved functionality. Added new images, removed outdated ones, and updated paths in IMAGE_PATHS. Renamed render_demo3 function to render_demonstrate for clarity. Adjusted UI styles and fixed image loading issues.