Omnibus commited on
Commit
c6b8d06
·
1 Parent(s): c21e0fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)