runtime error
Exit code: 3. Reason: File "/home/user/.local/lib/python3.9/site-packages/transformers/utils/hub.py", line 321, in cached_file file = cached_files(path_or_repo_id=path_or_repo_id, filenames=[filename], **kwargs) File "/home/user/.local/lib/python3.9/site-packages/transformers/utils/hub.py", line 563, in cached_files raise OSError(f"There was a specific connection error when trying to load {path_or_repo_id}:\n{e}") from e OSError: There was a specific connection error when trying to load sentence-transformers/all-MiniLM-L6-v2: 401 Client Error: Unauthorized for url: https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2/resolve/main/config.json (Request ID: Root=1-68bd2e2a-51bd53c745b1816505fbee52;45536503-5f2a-42b8-948c-57a2745367bb) Invalid credentials in Authorization header During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/.local/lib/python3.9/site-packages/starlette/routing.py", line 694, in lifespan async with self.lifespan_context(app) as maybe_state: File "/home/user/.local/lib/python3.9/site-packages/starlette/routing.py", line 571, in __aenter__ await self._router.startup() File "/home/user/.local/lib/python3.9/site-packages/starlette/routing.py", line 671, in startup await handler() File "/app/app.py", line 86, in startup_event await rag_system.initialize() File "/app/rag_system.py", line 49, in initialize await self._init_embeddings() File "/app/rag_system.py", line 74, in _init_embeddings raise ValueError(ERROR_MESSAGES["embedding_failed"].format(str(e))) ValueError: Failed to create embeddings: There was a specific connection error when trying to load sentence-transformers/all-MiniLM-L6-v2: 401 Client Error: Unauthorized for url: https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2/resolve/main/config.json (Request ID: Root=1-68bd2e2a-51bd53c745b1816505fbee52;45536503-5f2a-42b8-948c-57a2745367bb) Invalid credentials in Authorization header ERROR: Application startup failed. Exiting.
Container logs:
Fetching error logs...