Merge pull request #499 from huixingyun/fix-20250617
Fix: TypeError: Hunyuan3DPaintPipeline.from_pretrained() got an unexpected keyword argument 'torch_dtype'
This commit is contained in:
@@ -52,7 +52,7 @@ class Hunyuan3DTexGenConfig:
|
||||
|
||||
class Hunyuan3DPaintPipeline:
|
||||
@classmethod
|
||||
def from_pretrained(cls, model_path, subfolder='hunyuan3d-paint-v2-0-turbo'):
|
||||
def from_pretrained(cls, model_path, subfolder='hunyuan3d-paint-v2-0-turbo', **kwargs):
|
||||
delight_model_path = os.path.join(model_path, 'hunyuan3d-delight-v2-0')
|
||||
multiview_model_path = os.path.join(model_path, subfolder)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user