runtime error
Exit code: 1. Reason: ) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/gradio/utils.py", line 1009, in async_wrapper response = await f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/gradio/chat_interface.py", line 1040, 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 63, 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 2502, in run_sync_in_worker_thread return await future ^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 986, in run result = context.run(func, *args) File "/app/app.py", line 18, in chat response = client.chat_completion(msgs, max_tokens=1024, temperature=0.7) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/inference/_client.py", line 926, in chat_completion request_parameters = provider_helper.prepare_request( inputs=messages, ...<3 lines>... api_key=self.token, ) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/inference/_providers/_common.py", line 92, in prepare_request api_key = self._prepare_api_key(api_key) File "/usr/local/lib/python3.13/site-packages/huggingface_hub/inference/_providers/_common.py", line 147, in _prepare_api_key raise ValueError( f"You must provide an api_key to work with {self.provider} API or log in with `hf auth login`." ) ValueError: You must provide an api_key to work with auto API or log in with `hf auth login`.
Container logs:
Fetching error logs...