Spaces:
Runtime error
Runtime error
Update hy3dgen/shapegen/pipelines.py
Browse files
hy3dgen/shapegen/pipelines.py
CHANGED
@@ -215,7 +215,7 @@ class Hunyuan3DDiTPipeline:
|
|
215 |
if not os.path.exists(model_path):
|
216 |
|
217 |
try:
|
218 |
-
import
|
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/*"], # ๅ
ณ้ฎไฟฎๆน๏ผๆจกๅผๅน้
ๅญๆไปถๅคน
|