Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ import os
|
|
9 |
#agent.run("How many seconds would it take for a leopard at full speed to run through Pont des Arts?")
|
10 |
|
11 |
# Access HF Hub
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
print(
|
16 |
|
|
|
9 |
#agent.run("How many seconds would it take for a leopard at full speed to run through Pont des Arts?")
|
10 |
|
11 |
# Access HF Hub
|
12 |
+
from huggingface_hub import list_models
|
13 |
+
|
14 |
+
for model in list_models(limit=10, sort="downloads", direction=-1, filter="object-detection"):
|
15 |
+
print(model.id, model.downloads)
|
16 |
|