runtime error
Exit code: 1. Reason: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. INFO:httpx:HTTP Request: HEAD https://huggingface.co/spaces/agents-course/text-to-image/resolve/main/tool.py "HTTP/1.1 307 Temporary Redirect" INFO:httpx:HTTP Request: HEAD https://huggingface.co/api/resolve-cache/spaces/agents-course/text-to-image/1b8f45197f408e31789fed276c060371ee7eff00/tool.py "HTTP/1.1 200 OK" INFO:httpx:HTTP Request: GET https://huggingface.co/api/resolve-cache/spaces/agents-course/text-to-image/1b8f45197f408e31789fed276c060371ee7eff00/tool.py "HTTP/1.1 200 OK" tool.py: 0%| | 0.00/635 [00:00<?, ?B/s][A tool.py: 100%|██████████| 635/635 [00:00<00:00, 3.22MB/s] Traceback (most recent call last): File "/app/app.py", line 101, in <module> main() File "/app/app.py", line 75, in main agent = CodeAgent( File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 1163, in __init__ super().__init__( File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 218, in __init__ self.name = self._validate_name(name) File "/usr/local/lib/python3.10/site-packages/smolagents/agents.py", line 238, in _validate_name raise ValueError(f"Agent name '{name}' must be a valid Python identifier and not a reserved keyword.") ValueError: Agent name 'AI Assistant' must be a valid Python identifier and not a reserved keyword.
Container logs:
Fetching error logs...