runtime error
Exit code: 1. Reason: ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/gradio/chat_interface.py", line 1072, in _examples_fn response = await run_sync(self.fn, *inputs, limiter=self.limiter) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/anyio/to_thread.py", line 65, in run_sync return await get_async_backend().run_sync_in_worker_thread( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ func, args, abandon_on_cancel=abandon_on_cancel, limiter=limiter ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 2641, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 1033, in run result = context.run(func, *args) File "/app/app.py", line 83, in respond response = client.chat_completion( messages, max_tokens=1000, temperature = 0.1 ) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/inference/_client.py", line 930, in chat_completion data = self._inner_post(request_parameters, stream=stream) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/inference/_client.py", line 283, in _inner_post hf_raise_for_status(response) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/huggingface_hub/utils/_http.py", line 849, in hf_raise_for_status raise _format(HfHubHTTPError, message, response) from e huggingface_hub.errors.HfHubHTTPError: (Request ID: Root=1-6a6b4b45-3e356bdf03594da604b877e5;1c23b4f6-0198-4346-bede-d2715f7f16a5) 403 Forbidden: This authentication method does not have sufficient permissions to call Inference Providers on behalf of org kode-with-klossy. Cannot access content at: https://router.huggingface.co/v1/chat/completions. Make sure your token has the correct permissions.
Container logs:
Fetching error logs...