Spaces:
mashroo
/
Runtime error

CRM / inference.py

Commit History

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.
30b6055

YoussefAnso commited on

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.
dfab55e

YoussefAnso commited on

Update return value in generate3d function to use .glb extension for mesh export, ensuring consistency with recent changes in file handling and format compatibility.
2a4c225

YoussefAnso commited on

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.
81d5d11

YoussefAnso commited on

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.
841251d

YoussefAnso commited on

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.
6ded434

YoussefAnso commited on

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.
cb29219

YoussefAnso commited on

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.
8690d62

YoussefAnso commited on

Update inference.py to output glb on generate 3d
1197127

YoussefAnso commited on

remove cuda
1ec230c

Zhengyi commited on

float32
92dcd13

Zhengyi commited on

remove codes to inference
8216438

Zhengyi commited on

init
f4e8cf6

Zhengyi commited on