Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated fromย
Zhengyi/CRM
mashroo
/
CRM
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
fa6cc29
CRM
3.89 MB
3 contributors
History:
153 commits
YoussefAnso
Refactor remove_background function in app.py to enhance mask handling. Added checks for mask dimensions and data type, ensuring proper conversion to RGBA format for images. This improves the output quality when masks are applied.
fa6cc29
6 months ago
configs
init
almost 2 years ago
examples
Re-added .webp images via Git LFS after history cleanup
7 months ago
imagedream
init
almost 2 years ago
libs
init
almost 2 years ago
model
Refactor app.py and inference.py to streamline image generation and mesh export processes. Removed unnecessary CPU transfers and temporary file handling, directly returning generated GLB paths. Updated mesh export in CRM model to support vertex colors and improved overall efficiency in texture mapping.
6 months ago
util
Update util/renderer.py
almost 2 years ago
.gitattributes
Safe
1.77 kB
Track .webp images with Git LFS
7 months ago
.gitignore
Safe
2.7 kB
fix
almost 2 years ago
README.md
Safe
252 Bytes
Remove unnecessary launch parameters from app.py for simplicity and update README.md to reflect the new Gradio SDK version 4.21.0.
7 months ago
app.py
Safe
10.2 kB
Refactor remove_background function in app.py to enhance mask handling. Added checks for mask dimensions and data type, ensuring proper conversion to RGBA format for images. This improves the output quality when masks are applied.
6 months ago
inference.py
Safe
6.88 kB
Add debug texture saving in vertex_color_to_uv_textured_glb function in inference.py. This enhancement allows for easier troubleshooting by saving the generated texture as "debug_texture.png" after exporting the GLB file.
6 months ago
mesh.py
Safe
34.5 kB
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.
7 months ago
pipelines.py
Safe
6.63 kB
fix
almost 2 years ago
requirements.txt
Safe
359 Bytes
Add functionality to download the DIS ONNX model if not found locally in app.py. Updated remove_background function to call new ensure_dis_onnx_model method for improved error handling. Added requests library to requirements.txt for HTTP requests.
6 months ago