Spaces:
img2img
Runtime error

runtime error

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

Container logs:

hello sylvain
Traceback (most recent call last):
  File "app.py", line 22, in <module>
    img_pipe = StableDiffusionImg2ImgPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=YOUR_TOKEN)
  File "/home/user/.local/lib/python3.8/site-packages/diffusers/utils/dummy_torch_and_transformers_objects.py", line 34, in from_pretrained
    requires_backends(cls, ["torch", "transformers"])
  File "/home/user/.local/lib/python3.8/site-packages/diffusers/utils/import_utils.py", line 281, in requires_backends
    raise ImportError("".join(failed))
ImportError: 
StableDiffusionImg2ImgPipeline requires the PyTorch library but it was not found in your environment. Checkout the instructions on the
installation page: https://pytorch.org/get-started/locally/ and follow the ones that match your environment.