runtime error
Exit code: 3. Reason: ", line 1125, in _hf_hub_download_to_cache_dir os.makedirs(os.path.dirname(blob_path), exist_ok=True) File "/usr/local/lib/python3.9/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.9/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.9/os.py", line 215, in makedirs makedirs(head, exist_ok=exist_ok) File "/usr/local/lib/python3.9/os.py", line 225, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/code/cache' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 692, in lifespan async with self.lifespan_context(app) as maybe_state: File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 569, in __aenter__ await self._router.startup() File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 669, in startup await handler() File "/code/app.py", line 67, in startup_event load_model() File "/code/app.py", line 28, in load_model model = AutoModelForAudioClassification.from_pretrained( File "/usr/local/lib/python3.9/site-packages/transformers/models/auto/auto_factory.py", line 492, in from_pretrained resolved_config_file = cached_file( File "/usr/local/lib/python3.9/site-packages/transformers/utils/hub.py", line 312, in cached_file file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs) File "/usr/local/lib/python3.9/site-packages/transformers/utils/hub.py", line 515, in cached_files raise OSError( OSError: PermissionError at /code/cache when downloading firdhokk/speech-emotion-recognition-with-openai-whisper-large-v3. Check cache directory permissions. Common causes: 1) another user is downloading the same model (please wait); 2) a previous download was canceled and the lock file needs manual removal. ERROR: Application startup failed. Exiting.
Container logs:
Fetching error logs...