When Stable Diffusion throws the following error
ImportError: cannot import name ‘CLIPTextModelWithProjection’ from ‘transformers’
- Open the environment.yaml
- Change the version number of the transformers to
- transformers==4.31.0
- Update the environment with
conda env update -f environment.yaml