runtime error

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. 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. SAFETY_CHECKER: False device: cpu Traceback (most recent call last): File "/home/user/app/app.py", line 45, in <module> pipe = DiffusionPipeline.from_pretrained(model_id, safety_checker=None) 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/diffusers/pipelines/pipeline_utils.py", line 1096, in from_pretrained cached_folder = cls.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/diffusers/pipelines/pipeline_utils.py", line 1663, in download config_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 1201, 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...