Spaces:
Runtime error
Runtime error
Update model_list.py
Browse files- model_list.py +2 -2
model_list.py
CHANGED
@@ -80,8 +80,8 @@ class ModelList:
|
|
80 |
df = df[~df.github.isna()]
|
81 |
if has_model:
|
82 |
df = df[~df.hub.isna() | ~df.other.isna()]
|
83 |
-
df = df[df.
|
84 |
-
df = df[df.
|
85 |
return df
|
86 |
|
87 |
@staticmethod
|
|
|
80 |
df = df[~df.github.isna()]
|
81 |
if has_model:
|
82 |
df = df[~df.hub.isna() | ~df.other.isna()]
|
83 |
+
df = df[df.data_type.isin(set(data_types))]
|
84 |
+
df = df[df.base_model.isin(set(model_types))]
|
85 |
return df
|
86 |
|
87 |
@staticmethod
|