ImportError with transformer==4.38.2

#4
by maveriq - opened

Hi

I am following the tutorial at : https://huggingface.co/docs/transformers/en/custom_tools.

When I try to run load the tools using the following command, I get an import error.
from transformers import load_tool
controlnet_transformer = load_tool("diffusers/controlnet-canny-tool")
upscaler = load_tool("diffusers/latent-upscaler-tool")

The error :
image.png

I would appreciate any help.

Regards
Haris

maveriq changed discussion title from ImportError when the tool with transformer==4.38.2 to ImportError with transformer==4.38.2

Sign up or log in to comment