Spaces:
Build error
Build error
Update tools.py
Browse files
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
|