ZeqiangLai commited on
Commit
2f95843
·
verified ·
1 Parent(s): dfd9bf4

Update hy3dgen/shapegen/pipelines.py

Browse files
Files changed (1) hide show
  1. hy3dgen/shapegen/pipelines.py +1 -1
hy3dgen/shapegen/pipelines.py CHANGED
@@ -215,7 +215,7 @@ class Hunyuan3DDiTPipeline:
215
  if not os.path.exists(model_path):
216
 
217
  try:
218
- import huggingface_hub
219
  path = snapshot_download(
220
  repo_id=original_model_path,
221
  allow_patterns=[f"hunyuan3d-dit-v2-0/*"], # 关键修改:模式匹配子文件夹
 
215
  if not os.path.exists(model_path):
216
 
217
  try:
218
+ from huggingface_hub import snapshot_download
219
  path = snapshot_download(
220
  repo_id=original_model_path,
221
  allow_patterns=[f"hunyuan3d-dit-v2-0/*"], # 关键修改:模式匹配子文件夹