Abhilasha commited on
Commit
19a9483
·
1 Parent(s): 5472c57
stable_diffusion_controlnet_inpaint_img2img.py CHANGED
@@ -19,9 +19,9 @@ from diffusers.utils import (
19
  PIL_INTERPOLATION,
20
  is_accelerate_available,
21
  is_accelerate_version,
22
- randn_tensor,
23
  replace_example_docstring,
24
  )
 
25
 
26
 
27
  logger = logging.get_logger(__name__) # pylint: disable=invalid-name
 
19
  PIL_INTERPOLATION,
20
  is_accelerate_available,
21
  is_accelerate_version,
 
22
  replace_example_docstring,
23
  )
24
+ from diffusers.utils.torch_utils import randn_tensor
25
 
26
 
27
  logger = logging.get_logger(__name__) # pylint: disable=invalid-name