Refactor generate3d function in inference.py to improve mesh export process. Updated OBJ and texture file checks, streamlined GLB conversion with embedded texture handling, and enhanced error handling for missing files. This change ensures proper export of textured GLB files.
Refactor generate3d function in inference.py to improve readability and maintainability. Enhanced RGB and coordinate conversion, streamlined noise addition for denoising, and updated mesh export process to utilize trimesh for GLB format, ensuring proper handling of UV textures.
Update return value in generate3d function to use .glb extension for mesh export, ensuring consistency with recent changes in file handling and format compatibility.
Refactor gen_image function in app.py to return base64 encoded GLB data instead of a file path. Update mesh export in inference.py to return .obj file extension. Modify Mesh class to streamline GLB export and enhance texture handling, ensuring proper integration of vertex attributes.
Update mesh export in inference.py to use .glb suffix for temporary files and return the correct path without appending .obj. This improves file handling consistency.
Refactor mesh export process in inference.py to directly save as GLB format, removing intermediate OBJ conversion steps. Update return value to reflect new output format.
Refactor generate3d function in inference.py to enhance readability by removing unnecessary blank lines. Update requirements.txt to specify versions for gradio and huggingface-hub for better dependency management.
Refactor generate3d function in inference.py to improve readability by removing unnecessary blank lines. Update requirements.txt to remove gradio and numpy versions for cleaner dependency management.