Huiwenshi commited on
Commit
bc2ed11
·
verified ·
1 Parent(s): c63867f

Upload hy3dgen/shapegen/pipelines.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. hy3dgen/shapegen/pipelines.py +1 -1
hy3dgen/shapegen/pipelines.py CHANGED
@@ -209,7 +209,7 @@ class Hunyuan3DDiTPipeline:
209
  original_model_path = model_path
210
  if not os.path.exists(model_path):
211
  # try local path
212
- base_dir = os.environ.get('HY3DGEN_MODELS', '~/.cache/hy3dgen')
213
  model_path = os.path.expanduser(os.path.join(base_dir, model_path, 'hunyuan3d-dit-v2-0'))
214
  if not os.path.exists(model_path):
215
  try:
 
209
  original_model_path = model_path
210
  if not os.path.exists(model_path):
211
  # try local path
212
+ base_dir = os.environ.get('HY3DGEN_MODELS', '/home/user//.cache/hy3dgen')
213
  model_path = os.path.expanduser(os.path.join(base_dir, model_path, 'hunyuan3d-dit-v2-0'))
214
  if not os.path.exists(model_path):
215
  try: