Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Tom Aarsen
commited on
Commit
•
cfacdee
1
Parent(s):
2eb890d
API -> Proprietary
Browse files
app.py
CHANGED
@@ -1871,7 +1871,7 @@ NUMERIC_INTERVALS = {
|
|
1871 |
|
1872 |
MODEL_TYPES = [
|
1873 |
"Open",
|
1874 |
-
"
|
1875 |
]
|
1876 |
|
1877 |
def filter_data(search_query, model_types, model_sizes, *full_dataframes):
|
@@ -1893,7 +1893,7 @@ def filter_data(search_query, model_types, model_sizes, *full_dataframes):
|
|
1893 |
for model_type in model_types:
|
1894 |
if model_type == "Open":
|
1895 |
masks.append(df["Model Size (Million Parameters)"] != "")
|
1896 |
-
elif model_type == "
|
1897 |
masks.append(df["Model Size (Million Parameters)"] == "")
|
1898 |
df = df[reduce(lambda a, b: a | b, masks)]
|
1899 |
|
|
|
1871 |
|
1872 |
MODEL_TYPES = [
|
1873 |
"Open",
|
1874 |
+
"Proprietary",
|
1875 |
]
|
1876 |
|
1877 |
def filter_data(search_query, model_types, model_sizes, *full_dataframes):
|
|
|
1893 |
for model_type in model_types:
|
1894 |
if model_type == "Open":
|
1895 |
masks.append(df["Model Size (Million Parameters)"] != "")
|
1896 |
+
elif model_type == "Proprietary":
|
1897 |
masks.append(df["Model Size (Million Parameters)"] == "")
|
1898 |
df = df[reduce(lambda a, b: a | b, masks)]
|
1899 |
|