Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -116,9 +116,7 @@ def update_table(
|
|
116 |
|
117 |
|
118 |
def search_table(df: pd.DataFrame, query: str) -> pd.DataFrame:
|
119 |
-
|
120 |
-
df2 = df1[(df['Diffusion_Models'].str.contains(query, case=False))]
|
121 |
-
return df2
|
122 |
|
123 |
|
124 |
def filter_queries(query: str, filtered_df: pd.DataFrame) -> pd.DataFrame:
|
|
|
116 |
|
117 |
|
118 |
def search_table(df: pd.DataFrame, query: str) -> pd.DataFrame:
|
119 |
+
return df[(df['Unlearned_Methods'].str.contains(query, case=False))]
|
|
|
|
|
120 |
|
121 |
|
122 |
def filter_queries(query: str, filtered_df: pd.DataFrame) -> pd.DataFrame:
|