Spaces:
Sleeping
Sleeping
Update tools/image_caption.py
Browse files- 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."
|