m-ric HF staff commited on
Commit
e1565da
·
verified ·
1 Parent(s): 470d536

Upload tool

Browse files
Files changed (2) hide show
  1. requirements.txt +1 -1
  2. tool.py +0 -2
requirements.txt CHANGED
@@ -1,2 +1,2 @@
1
- huggingface_hub
2
  smolagents
 
 
 
1
  smolagents
2
+ huggingface_hub
tool.py CHANGED
@@ -15,7 +15,5 @@ class HFModelDownloadsTool(Tool):
15
  model = next(iter(list_models(filter=task, sort="downloads", direction=-1)))
16
  return model.id
17
 
18
-
19
  def __init__(self, *args, **kwargs):
20
  self.is_initialized = False
21
-
 
15
  model = next(iter(list_models(filter=task, sort="downloads", direction=-1)))
16
  return model.id
17
 
 
18
  def __init__(self, *args, **kwargs):
19
  self.is_initialized = False