Spaces:
Sleeping
Sleeping
osanseviero
commited on
Commit
•
ec4f1fb
1
Parent(s):
f43dd6a
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def get_repo_ids(repo_type):
|
|
20 |
repos = api.list_spaces(author="hackathon-somos-nlp-2023")
|
21 |
repos = [s for s in repos if s.id not in ["hackathon-somos-nlp-2023/README", "hackathon-somos-nlp-2023/leaderboard"]]
|
22 |
elif repo_type == "models":
|
23 |
-
repos = api.list_models(author="hackathon-somos-nlp-2023")
|
24 |
else:
|
25 |
repos = api.list_datasets(author="hackathon-somos-nlp-2023")
|
26 |
return repos
|
|
|
20 |
repos = api.list_spaces(author="hackathon-somos-nlp-2023")
|
21 |
repos = [s for s in repos if s.id not in ["hackathon-somos-nlp-2023/README", "hackathon-somos-nlp-2023/leaderboard"]]
|
22 |
elif repo_type == "models":
|
23 |
+
repos = api.list_models(author="hackathon-somos-nlp-2023", full=True)
|
24 |
else:
|
25 |
repos = api.list_datasets(author="hackathon-somos-nlp-2023")
|
26 |
return repos
|