runtime error

Exit code: 1. Reason: ad.py", line 301, in _request_wrapper hf_raise_for_status(response) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 477, in hf_raise_for_status raise _format(HfHubHTTPError, str(e), response) from e huggingface_hub.errors.HfHubHTTPError: 504 Server Error: Gateway Timeout for url: https://huggingface.co/dima806/facial_emotions_image_detection/resolve/main/preprocessor_config.json (Request ID: Root=1-67578f26-563f551f457cda90444b38b8;210488b7-1159-4279-878d-c6833144eff6) The request is taking longer than expected, please try again later. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 36, in <module> pipe1 = pipeline("image-classification", model="dima806/facial_emotions_image_detection") File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/__init__.py", line 1058, in pipeline image_processor = AutoImageProcessor.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/image_processing_auto.py", line 415, in from_pretrained config_dict, _ = ImageProcessingMixin.get_image_processor_dict(pretrained_model_name_or_path, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/image_processing_base.py", line 335, in get_image_processor_dict resolved_image_processor_file = cached_file( File "/usr/local/lib/python3.10/site-packages/transformers/utils/hub.py", line 467, in cached_file raise EnvironmentError(f"There was a specific connection error when trying to load {path_or_repo_id}:\n{err}") OSError: There was a specific connection error when trying to load dima806/facial_emotions_image_detection: 504 Server Error: Gateway Timeout for url: https://huggingface.co/dima806/facial_emotions_image_detection/resolve/main/preprocessor_config.json (Request ID: Root=1-67578f26-563f551f457cda90444b38b8;210488b7-1159-4279-878d-c6833144eff6) The request is taking longer than expected, please try again later.

Container logs:

Fetching error logs...