Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from huggingface_hub import HfApi, list_models
|
|
|
3 |
|
4 |
-
|
|
|
|
|
|
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)
|