File size: 221 Bytes
5fa1a76
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
We'll create a class that inherits from it:
thon
from transformers import Tool
class HFModelDownloadsTool(Tool):
    pass

This class has a few needs:
- An attribute name, which corresponds to the name of the tool itself.