alekn commited on
Commit
1720101
·
verified ·
1 Parent(s): bc6e6ef

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +2 -1
tools.py CHANGED
@@ -9,7 +9,8 @@ from smolagents import tool, FinalAnswerTool, DuckDuckGoSearchTool, ToolCollecti
9
  DuckDuckGoSearchTool = DuckDuckGoSearchTool()
10
  FinalAnswer = FinalAnswerTool()
11
 
12
- image_tool_collection = ToolCollection.from_hub("huggingface-tools/diffusion-tools-6630bb19a942c2306a2cdb6f")
 
13
 
14
  ## MATH TOOLS
15
  @tool
 
9
  DuckDuckGoSearchTool = DuckDuckGoSearchTool()
10
  FinalAnswer = FinalAnswerTool()
11
 
12
+ image_tool_collection = ToolCollection.from_hub("huggingface-tools/diffusion-tools-6630bb19a942c2306a2cdb6f",
13
+ trust_remote_code=True)
14
 
15
  ## MATH TOOLS
16
  @tool