File "scripts/txt2img.py", line 22, in <module>
from diffusers.pipelines.stable_diffusion.safety_checker import StableDiffusionSafetyChecker
File "/opt/conda/envs/ldm/lib/python3.8/site-packages/diffusers/__init__.py", line 27, in <module>
from .pipelines import OnnxRuntimeModel
File "/opt/conda/envs/ldm/lib/python3.8/site-packages/diffusers/pipelines/__init__.py", line 18, in <module>
from .dance_diffusion import DanceDiffusionPipeline
File "/opt/conda/envs/ldm/lib/python3.8/site-packages/diffusers/pipelines/dance_diffusion/__init__.py", line 1, in <module>
from .pipeline_dance_diffusion import DanceDiffusionPipeline
File "/opt/conda/envs/ldm/lib/python3.8/site-packages/diffusers/pipelines/dance_diffusion/pipeline_dance_diffusion.py", line 21, in <module>
from ..pipeline_utils import AudioPipelineOutput, DiffusionPipeline
File "/opt/conda/envs/ldm/lib/python3.8/site-packages/diffusers/pipelines/pipeline_utils.py", line 64, in <module>
from transformers.utils import SAFE_WEIGHTS_NAME as TRANSFORMERS_SAFE_WEIGHTS_NAME
ImportError: cannot import name 'SAFE_WEIGHTS_NAME' from 'transformers.utils' (/opt/conda/envs/ldm/lib/python3.8/site-packages/transformers/utils/__init__.py)
ERROR conda.cli.main_run:execute(47): `conda run /bin/bash -c python scripts/txt2img.py --prompt 'talking chicken nuggets being scared to be eaten' --plms --ckpt sd-v1-4.ckpt --skip_grid --n_samples 1` failed. (See above for error)
root@b10a0b98783f:/app/stable-diffusion# exit