runtime error
Exit code: 1. Reason: e "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync return await get_async_backend().run_sync_in_worker_thread( File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 967, in run result = context.run(func, *args) File "/home/user/app/app.py", line 20, in <lambda> fn=lambda message, history: str(agent.run(message)), File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 351, in run return list(self._run_stream(task=self.task, max_steps=max_steps, images=images))[-1].final_answer File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 379, in _run_stream raise e File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 374, in _run_stream for el in self._execute_step(action_step): File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 397, in _execute_step for el in self._step_stream(memory_step): File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 1354, in _step_stream raise AgentGenerationError(f"Error in generating model output:\n{e}", self.logger) from e smolagents.utils.AgentGenerationError: Error in generating model output: 401 Client Error: Unauthorized for url: https://router.huggingface.co/hf-inference/models/Qwen/Qwen2.5-Coder-32B-Instruct/v1/chat/completions (Request ID: Root=1-6830d306-74b17a5d0fa208a52fd3b627;f6c9efbb-5533-410f-beed-e7e4f1bb8306) Invalid username or password. Traceback (most recent call last): File "/home/user/app/app.py", line 27, in <module> demo.launch() File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 2771, in launch raise Exception( Exception: Couldn't start the app because 'http://localhost:7860/gradio_api/startup-events' failed (code 500). Check your network or proxy settings to ensure localhost is accessible.
Container logs:
Fetching error logs...