runtime error
equests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 504 Server Error: Gateway Time-out for url: https://huggingface.co/api/models/stabilityai/stable-diffusion-2-1/revision/main The above exception was the direct cause of the following exception: Traceback (most recent call last): File "app.py", line 2, in <module> from img2img_inference import device, pipe, resize File "/home/user/app/img2img_inference.py", line 21, in <module> use_auth_token=os.environ['access_token']) if torch.cuda.is_available() else StableDiffusionImg2ImgPipeline.from_pretrained("stabilityai/stable-diffusion-2-1", File "/home/user/.local/lib/python3.8/site-packages/diffusers/pipeline_utils.py", line 500, in from_pretrained cached_folder = snapshot_download( File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn return fn(*args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/_snapshot_download.py", line 183, in snapshot_download repo_info = _api.repo_info( File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn return fn(*args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/hf_api.py", line 1814, in repo_info return method( File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_validators.py", line 120, in _inner_fn return fn(*args, **kwargs) File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/hf_api.py", line 1624, in model_info hf_raise_for_status(r) File "/home/user/.local/lib/python3.8/site-packages/huggingface_hub/utils/_errors.py", line 301, 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/stabilityai/stable-diffusion-2-1/revision/main
Container logs:
Fetching error logs...