Spaces:
Runtime error
Runtime error
Upload tool
Browse files- model_downloads.py +1 -1
- requirements.txt +1 -1
- tool_config.json +1 -1
model_downloads.py
CHANGED
@@ -3,7 +3,7 @@ from huggingface_hub import list_models
|
|
3 |
|
4 |
|
5 |
class HFModelDownloadsTool(Tool):
|
6 |
-
name = '
|
7 |
description = (
|
8 |
"This is a tool that returns the most downloaded model of a given task on the Hugging Face Hub. "
|
9 |
"It takes the name of the category (such as text-classification, depth-estimation, etc), and "
|
|
|
3 |
|
4 |
|
5 |
class HFModelDownloadsTool(Tool):
|
6 |
+
name = 'model_download_counter'
|
7 |
description = (
|
8 |
"This is a tool that returns the most downloaded model of a given task on the Hugging Face Hub. "
|
9 |
"It takes the name of the category (such as text-classification, depth-estimation, etc), and "
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
|
2 |
huggingface_hub
|
|
|
1 |
+
transformers
|
2 |
huggingface_hub
|
tool_config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
"description": "This is a tool that returns the most downloaded model of a given task on the Hugging Face Hub. It takes the name of the category (such as text-classification, depth-estimation, etc), and returns the name of the checkpoint alongside its 30-day download numbers.",
|
3 |
-
"name": "
|
4 |
"tool_class": "model_downloads.HFModelDownloadsTool"
|
5 |
}
|
|
|
1 |
{
|
2 |
"description": "This is a tool that returns the most downloaded model of a given task on the Hugging Face Hub. It takes the name of the category (such as text-classification, depth-estimation, etc), and returns the name of the checkpoint alongside its 30-day download numbers.",
|
3 |
+
"name": "model_download_counter",
|
4 |
"tool_class": "model_downloads.HFModelDownloadsTool"
|
5 |
}
|