Spaces:
Build error
Build error
Download tools/final_answer.py from NSruman/First_agent_template: direct link, hf CLI and curl.
- Browser
- Download file 187 Bytes
-
https://huggingface.co/spaces/NSruman/First_agent_template/resolve/main/tools/final_answer.py
- Command line
-
hf download hf://spaces/NSruman/First_agent_template/tools/final_answer.py
-
curl -L -o final_answer.py https://huggingface.co/spaces/NSruman/First_agent_template/resolve/main/tools/final_answer.py
187 Bytes
| from smolagents import tool | |
| def final_answer(answer: str) -> str: | |
| """Tool to submit final answers | |
| Args: | |
| answer: The final answer to submit | |
| """ | |
| return answer |