Fixed demo typo in README.md (#481)
This commit is contained in:
		
							parent
							
								
									6d72ea7283
								
							
						
					
					
						commit
						dd84e7333d
					
				|  | @ -69,7 +69,7 @@ Then define your agent, give it the tools it needs and run it! | ||||||
| ```py | ```py | ||||||
| from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel | from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel | ||||||
| 
 | 
 | ||||||
| mdoel = HfApiModel() | model = HfApiModel() | ||||||
| agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=model) | agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=model) | ||||||
| 
 | 
 | ||||||
| agent.run("How many seconds would it take for a leopard at full speed to run through Pont des Arts?") | agent.run("How many seconds would it take for a leopard at full speed to run through Pont des Arts?") | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue