runtime error

Space not ready. Reason: Error, exitCode: 1, message: None

Container logs:

Traceback (most recent call last):
  File "", line 6, in <module>
    pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", revision = "fp16", use_auth_token = st.secrets["USER_TOKEN"])
  File "/home/user/.local/lib/python3.8/site-packages/diffusers/utils/", line 79, in from_pretrained
    requires_backends(cls, ["torch", "transformers"])
  File "/home/user/.local/lib/python3.8/site-packages/diffusers/utils/", line 304, in requires_backends
    raise ImportError("".join(failed))
StableDiffusionPipeline requires the PyTorch library but it was not found in your environment. Checkout the instructions on the
installation page: and follow the ones that match your environment.