Update README.md

This commit is contained in:
Aymeric Roucher 2024-12-27 16:11:08 +01:00 committed by GitHub
parent c57cd3c8d2
commit 710fb75559
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 7 deletions

View File

@ -53,12 +53,7 @@ agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel())
agent.run("What time would it take for a leopard at full speed to run through Pont des Arts?")
```
<div class="flex justify-center">
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/smolagents/smolagents.gif" alt="CodeAgent browsing the web and doing calculations to solve a question"/>
</div>
![CodeAgent browsing the web and doing calculations to solve a question](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/smolagents/smolagents.gif)
https://github.com/user-attachments/assets/cd0226e2-7479-4102-aea0-57c22ca47884
## Code agents?
@ -86,4 +81,4 @@ If you use `smolagents` in your publication, please cite it by using the followi
howpublished = {\url{https://github.com/huggingface/smolagents}},
year = {2024}
}
```
```