vbertret commited on
Commit
7c9ce53
·
verified ·
1 Parent(s): 97d7d7f

Update tools/image_caption.py

Browse files
Files changed (1) hide show
  1. tools/image_caption.py +1 -0
tools/image_caption.py CHANGED
@@ -1,5 +1,6 @@
1
  from smolagents import Tool
2
  from huggingface_hub import InferenceClient
 
3
 
4
  class ImageCaptioningTool(Tool):
5
  description = "Cet outil génère une légende descriptive pour une image donnée."
 
1
  from smolagents import Tool
2
  from huggingface_hub import InferenceClient
3
+ import requests
4
 
5
  class ImageCaptioningTool(Tool):
6
  description = "Cet outil génère une légende descriptive pour une image donnée."