Spaces:
Sleeping
Sleeping
Update most_downloaded_model.py
Browse files- most_downloaded_model.py +1 -1
most_downloaded_model.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from transformers import Tool
|
2 |
from huggingface_hub import list_models
|
3 |
|
4 |
-
class
|
5 |
name = "model_download_counter"
|
6 |
description = (
|
7 |
"This is a tool that returns the most downloaded model of a given task on the Hugging Face Hub. "
|
|
|
1 |
from transformers import Tool
|
2 |
from huggingface_hub import list_models
|
3 |
|
4 |
+
class MostDownloadedModelTool(Tool):
|
5 |
name = "model_download_counter"
|
6 |
description = (
|
7 |
"This is a tool that returns the most downloaded model of a given task on the Hugging Face Hub. "
|