xinchen9 commited on
Commit
a0a1a45
1 Parent(s): 68a6801

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -116,7 +116,9 @@ def update_table(
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:
 
116
 
117
 
118
  def search_table(df: pd.DataFrame, query: str) -> pd.DataFrame:
119
+ df = df[(df['Unlearned_Methods'].str.contains(query, case=False))]
120
+ df = df[(df['Diffusion_Models'].str.contains(query, case=False))]
121
+ return df
122
 
123
 
124
  def filter_queries(query: str, filtered_df: pd.DataFrame) -> pd.DataFrame: