runtime error

Space failed. Exit code: 1. Reason: The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1656, in download info = model_info(pretrained_model_name, token=token, revision=revision) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 2085, in model_info hf_raise_for_status(r) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 333, in hf_raise_for_status raise HfHubHTTPError(str(e), response=response) from e huggingface_hub.utils._errors.HfHubHTTPError: 504 Server Error: Gateway Time-out for url: https://huggingface.co/api/models/amused/amused-512 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 25, in <module> pipe = DiffusionPipeline.from_pretrained( File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1096, in from_pretrained cached_folder = cls.download( File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/diffusers/pipelines/pipeline_utils.py", line 1905, in download raise EnvironmentError( OSError: Cannot load model amused/amused-512: model is not cached locally and an error occured while trying to fetch metadata from the Hub. Please check out the root cause in the stacktrace above.

Container logs:

Fetching error logs...