runtime error

There was a problem when trying to write in your cache folder (/data/.huggingface/hub). You should set the environment variable TRANSFORMERS_CACHE to a writable directory. There was a problem when trying to write in your cache folder (/data/.huggingface/hub). Please, ensure the directory exists and can be written to. Initializing captioner... Traceback (most recent call last): File "/home/user/app/app.py", line 5, in <module> from background_replacer import replace_background File "/home/user/app/background_replacer.py", line 21, in <module> init_captioner() File "/home/user/app/captioner.py", line 12, in init captioner = pipeline( File "/home/user/.local/lib/python3.10/site-packages/transformers/pipelines/__init__.py", line 747, in pipeline resolved_config_file = cached_file( File "/home/user/.local/lib/python3.10/site-packages/transformers/utils/hub.py", line 389, 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 1210, in hf_hub_download os.makedirs(storage_folder, exist_ok=True) File "/usr/local/lib/python3.10/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.10/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.10/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.10/os.py", line 225, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/data'

Container logs:

Fetching error logs...