Omnibus commited on
Commit
ac8553a
·
1 Parent(s): f533b9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,4 +1,7 @@
1
  import gradio as gr
2
  from huggingface_hub import HfApi, list_models
 
3
 
4
- print (dir(list_models()))
 
 
 
1
  import gradio as gr
2
  from huggingface_hub import HfApi, list_models
3
+ api = HfApi()
4
 
5
+ # List all models
6
+ this = api.list_models(limit=3,cardData=True)
7
+ print (this)