kijai / ComfyUI-BrushNet-Wrapper

ComfyUI nodes to use BrushNet with Diffusers
Apache License 2.0
111 stars 6 forks source link

Powerpaint error on load of a new image #13

Closed Beamhi closed 2 months ago

Beamhi commented 2 months ago

On load of a new image, I get this error: Error occurred when executing brushnet_model_loader:

cannot access local variable 'brushnet' where it is not associated with a value

File "C:\Users\nux\Desktop\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\nux\Desktop\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\nux\Desktop\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\nux\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BrushNet-Wrapper\nodes.py", line 237, in loadmodel return (brushnet,)

Beamhi commented 2 months ago

Fixed. I removed the ip node