Commit
•
a7a5300
1
Parent(s):
182c1d0
nicer formatting of numbers
Browse files
app.py
CHANGED
@@ -26,8 +26,8 @@ def has_base_model_info(model):
|
|
26 |
grouped_by_has_base_model_info = groupby(has_base_model_info, get_all_models())
|
27 |
print(valmap(len, grouped_by_has_base_model_info))
|
28 |
|
29 |
-
summary = f"""{len(grouped_by_has_base_model_info.get(True))} models have base model info.
|
30 |
-
{len(grouped_by_has_base_model_info.get(False))} models don't have base model info.
|
31 |
Currently {round(len(grouped_by_has_base_model_info.get(True))/len(get_all_models())*100,2)}% of models have base model info."""
|
32 |
|
33 |
models_with_base_model_info = grouped_by_has_base_model_info.get(True)
|
|
|
26 |
grouped_by_has_base_model_info = groupby(has_base_model_info, get_all_models())
|
27 |
print(valmap(len, grouped_by_has_base_model_info))
|
28 |
|
29 |
+
summary = f"""{len(grouped_by_has_base_model_info.get(True)):,} models have base model info.
|
30 |
+
{len(grouped_by_has_base_model_info.get(False)):,} models don't have base model info.
|
31 |
Currently {round(len(grouped_by_has_base_model_info.get(True))/len(get_all_models())*100,2)}% of models have base model info."""
|
32 |
|
33 |
models_with_base_model_info = grouped_by_has_base_model_info.get(True)
|