runtime error
Exit code: 1. Reason: ublic&response-content-disposition=inline%3B%20filename%2A%3DUTF-8%27%27model.safetensors%3B%20filename%3D%22model.safetensors%22%3B&x-amz-checksum-mode=ENABLED&x-id=GetObject"), fragment: None }, source: hyper::Error(IncompleteMessage) } The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/.local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3037, in from_pretrained resolved_archive_file = cached_file(pretrained_model_name_or_path, filename, **cached_file_kwargs) File "/home/user/.local/lib/python3.10/site-packages/transformers/utils/hub.py", line 430, in cached_file resolved_file = hf_hub_download( File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn return fn(*args, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 1431, in hf_hub_download http_get( File "/home/user/.local/lib/python3.10/site-packages/huggingface_hub/file_download.py", line 506, in http_get raise RuntimeError( RuntimeError: An error occurred while downloading using `hf_transfer`. Consider disabling HF_HUB_ENABLE_HF_TRANSFER for better error handling. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 17, in <module> model = BlipForConditionalGeneration.from_pretrained(model_id).to(device) File "/home/user/.local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3109, in from_pretrained raise EnvironmentError( OSError: Can't load the model for 'Salesforce/blip-image-captioning-large'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'Salesforce/blip-image-captioning-large' is the correct path to a directory containing a file named pytorch_model.bin, tf_model.h5, model.ckpt or flax_model.msgpack.
Container logs:
Fetching error logs...