mmichiels13 commited on
Commit
ca10f92
·
verified ·
1 Parent(s): 8eb65ae

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +3 -0
tools.py CHANGED
@@ -3,6 +3,9 @@ from smolagents import Tool, tool
3
  import random
4
  from huggingface_hub import list_models
5
  from smolagents.memory import ActionStep
 
 
 
6
 
7
 
8
  # Initialize the DuckDuckGo search tool
 
3
  import random
4
  from huggingface_hub import list_models
5
  from smolagents.memory import ActionStep
6
+ from PIL import Image
7
+ import requests
8
+ from io import BytesIO
9
 
10
 
11
  # Initialize the DuckDuckGo search tool