runtime error
Exit code: 1. Reason: r (/.cache/huggingface/hub). You should set the environment variable TRANSFORMERS_CACHE to a writable directory. Traceback (most recent call last): File "/app/app.py", line 1, in <module> from ai import DiseasePredictionModel File "/app/ai.py", line 132, in <module> model = DiseasePredictionModel() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/ai.py", line 62, in __init__ self.tokenizer = AutoTokenizer.from_pretrained("dmis-lab/biobert-v1.1") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/transformers/models/auto/tokenization_auto.py", line 871, in from_pretrained tokenizer_config = get_tokenizer_config(pretrained_model_name_or_path, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/transformers/models/auto/tokenization_auto.py", line 703, in get_tokenizer_config resolved_config_file = cached_file( ^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/transformers/utils/hub.py", line 403, in cached_file resolved_file = hf_hub_download( ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 860, in hf_hub_download return _hf_hub_download_to_cache_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 977, in _hf_hub_download_to_cache_dir os.makedirs(os.path.dirname(blob_path), exist_ok=True) File "<frozen os>", line 215, in makedirs File "<frozen os>", line 215, in makedirs File "<frozen os>", line 215, in makedirs [Previous line repeated 1 more time] File "<frozen os>", line 225, in makedirs PermissionError: [Errno 13] Permission denied: '/.cache'
Container logs:
Fetching error logs...