Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,6 @@ from huggingface_hub import HfApi, list_models
|
|
3 |
api = HfApi()
|
4 |
|
5 |
# List all models
|
6 |
-
this = api.list_models(limit=100,cardData=True)
|
7 |
for i,mod in enumerate(this):
|
8 |
print(mod)
|
|
|
3 |
api = HfApi()
|
4 |
|
5 |
# List all models
|
6 |
+
this = api.list_models(limit=100,task="text-classification",cardData=True)
|
7 |
for i,mod in enumerate(this):
|
8 |
print(mod)
|