Spaces:
Runtime error
Runtime error
Clémentine
commited on
Commit
•
c2cc6bf
1
Parent(s):
bcf0226
mini fix
Browse files- app.py +1 -1
- src/scripts/update_all_request_files.py +1 -2
app.py
CHANGED
@@ -183,7 +183,7 @@ leaderboard_df = filter_models(
|
|
183 |
type_query=[t.to_str(" : ") for t in ModelType],
|
184 |
size_query=list(NUMERIC_INTERVALS.keys()),
|
185 |
precision_query=[i.value.name for i in Precision],
|
186 |
-
hide_models=[
|
187 |
)
|
188 |
|
189 |
demo = gr.Blocks(css=custom_css)
|
|
|
183 |
type_query=[t.to_str(" : ") for t in ModelType],
|
184 |
size_query=list(NUMERIC_INTERVALS.keys()),
|
185 |
precision_query=[i.value.name for i in Precision],
|
186 |
+
hide_models=["Private or deleted", "Merges and moerges", "Flagged"], # Deleted, merges, flagged, MoEs
|
187 |
)
|
188 |
|
189 |
demo = gr.Blocks(css=custom_css)
|
src/scripts/update_all_request_files.py
CHANGED
@@ -43,8 +43,7 @@ def update_models(file_path, models):
|
|
43 |
still_on_hub = False
|
44 |
data['still_on_hub'] = still_on_hub
|
45 |
|
46 |
-
if still_on_hub
|
47 |
-
tags = get_model_tags(model_card, model_id)
|
48 |
|
49 |
data["tags"] = tags
|
50 |
|
|
|
43 |
still_on_hub = False
|
44 |
data['still_on_hub'] = still_on_hub
|
45 |
|
46 |
+
tags = get_model_tags(model_card, model_id) if still_on_hub else []
|
|
|
47 |
|
48 |
data["tags"] = tags
|
49 |
|