diff --git a/nodes.py b/nodes.py index 209714c..3ef5e2a 100644 --- a/nodes.py +++ b/nodes.py @@ -425,8 +425,10 @@ class Hy3DExportMesh: output_glb_path = Path(full_output_folder, f'{filename}_{counter:05}_.glb') output_glb_path.parent.mkdir(exist_ok=True) mesh.export(output_glb_path) + + relative_path = Path(subfolder) / f'{filename}_{counter:05}_.glb' - return (str(output_glb_path), ) + return (str(relative_path), ) NODE_CLASS_MAPPINGS = { "Hy3DModelLoader": Hy3DModelLoader, diff --git a/requirements.txt b/requirements.txt index 33fc2ef..28c0024 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ trimesh -diffusers +diffusers>=0.31.0 accelerate huggingface_hub einops