Update Storydiffusion_node.py

This commit is contained in:
smthemex
2024-10-01 07:44:49 +08:00
committed by GitHub
parent b7d566d990
commit 3479dc74f9
-2
View File
@@ -132,8 +132,6 @@ class Storydiffusion_Model_Loader:
clip_vision_path,char_files,ckpt_path,lora,lora_path,use_kolor,photomake_mode,use_flux,onnx_provider)=get_easy_function(
easy_function,clip_vision,character_weights,ckpt_name,lora,repo_id,photomake_mode)
if pulid and isinstance(image,torch.Tensor):
raise "you need chocie a input image if using pulid!!"
photomaker_path,face_ckpt,photomake_mode,pulid_ckpt,face_adapter,kolor_ip_path=pre_checkpoint(
photomaker_path, photomake_mode, kolor_face, pulid, story_maker, clip_vision_path,use_kolor,model_type)