model-explorer / app.py
Omnibus's picture
Update app.py
9db53b1
raw
history blame
252 Bytes
import gradio as gr
from huggingface_hub import HfApi, list_models
api = HfApi()
# List all models
filt = ModelFilter(task="text-classification")
this = api.list_models(limit=100,filter=filt,cardData=True)
for i,mod in enumerate(this):
print(mod)