Open danganbenpa opened 10 months ago
+1 had the same error with both the hub version and local version
Same error here, please help.
solution: pip install diffusers --upgrade
didnt work for me.
found solution go in your \ComfyUI\ComfyUI\custom_nodes\ directory from cmd then write: example C:\Users\name\ComfyUI\python_embeded \python.exe -s -m pip install -r ./requirements.txt then after finish C:\Users\name\ComfyUI\ComfyUI\custom_nodes\ComfyUI-PhotoMaker>C:\Users\Sergio\ComfyUI\python_embeded\python.exe -s -m pip install diffusers --upgrade
this way you install requirements and diffusers upgrade on the embeded python instead system python.
hope that helps ;)
Error occurred when executing PhotoMakerAdapter_Loader_local:
_get_model_file() got an unexpected keyword argument 'token'
File "D:\Users\Ben\comfyui\ComfyUI\execution.py", line 155, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "D:\Users\Ben\comfyui\ComfyUI\execution.py", line 85, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "D:\Users\Ben\comfyui\ComfyUI\execution.py", line 78, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) File "D:\Users\Ben\comfyui\ComfyUI\custom_nodes\ComfyUI-PhotoMaker\PhotoMakerNode.py", line 150, in load_photomaker_adapter pipe.load_photomaker_adapter( File "D:\Users\Ben\comfyui\python_embeded\lib\site-packages\huggingface_hub\utils_validators.py", line 118, in _inner_fn return fn(args, **kwargs) File "D:\Users\Ben\comfyui\ComfyUI\custom_nodes\ComfyUI-PhotoMaker\pipeline.py", line 80, in load_photomaker_adapter model_file = _get_model_file(