runtime error

Exit code: 1. Reason: .10.16/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.16/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 2592, in model_info hf_raise_for_status(r) File "/home/user/.pyenv/versions/3.10.16/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 482, in hf_raise_for_status raise _format(HfHubHTTPError, str(e), response) from e huggingface_hub.errors.HfHubHTTPError: 502 Server Error: Bad Gateway for url: https://huggingface.co/api/models/opendatalab/PDF-Extract-Kit-1.0/revision/main The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/download_models_hf.py", line 45, in <module> model_dir = snapshot_download('opendatalab/PDF-Extract-Kit-1.0', allow_patterns=mineru_patterns) File "/home/user/.pyenv/versions/3.10.16/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/home/user/.pyenv/versions/3.10.16/lib/python3.10/site-packages/huggingface_hub/_snapshot_download.py", line 235, in snapshot_download raise LocalEntryNotFoundError( huggingface_hub.errors.LocalEntryNotFoundError: An error happened while trying to locate the files on the Hub and we cannot find the appropriate snapshot folder for the specified revision on the local disk. Please check your internet connection and try again. Traceback (most recent call last): File "/home/user/app/app.py", line 18, in <module> Error executing script: [Errno 2] No such file or directory: '/home/user/magic-pdf.json' exec(script_repr) File "<string>", line 19, in <module> FileNotFoundError: [Errno 2] No such file or directory: '/home/user/magic-pdf.json' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 21, in <module> sys.exit(1) NameError: name 'sys' is not defined

Container logs:

Fetching error logs...