mlabonne commited on
Commit
8753c00
1 Parent(s): 314b2ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -118,11 +118,11 @@ def main():
118
  dfs_to_concat = []
119
 
120
  if show_phi:
121
- dfs_to_concat.append(full_df[full_df['Tags'].str.lower().str.contains('phi|phi-msft')])
122
  if show_mistral:
123
- dfs_to_concat.append(full_df[full_df['Tags'].str.lower().str.contains('mistral')])
124
  if show_other:
125
- other_df = full_df[~full_df['Tags'].str.lower().str.contains('phi|phi-msft|mistral')]
126
  dfs_to_concat.append(other_df)
127
 
128
  # Concatenate the DataFrames
 
118
  dfs_to_concat = []
119
 
120
  if show_phi:
121
+ dfs_to_concat.append(full_df[full_df['Tags'].str.lower().str.contains('phi,|phi-msft,')])
122
  if show_mistral:
123
+ dfs_to_concat.append(full_df[full_df['Tags'].str.lower().str.contains('mistral,')])
124
  if show_other:
125
+ other_df = full_df[~full_df['Tags'].str.lower().str.contains('phi,|phi-msft,|mistral,')]
126
  dfs_to_concat.append(other_df)
127
 
128
  # Concatenate the DataFrames