Herc commited on
Commit
d056bf0
·
verified ·
1 Parent(s): b029021

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def load_catalog():
48
 
49
  # Function to filter the catalog based on multiple attributes with AND logic
50
  @st.cache_data
51
- def filter_catalog(catalog, search_query=None, selected_category=None, cyber_approved=None, accessibility_approved=None, privacy_approved=None):
52
  filtered = catalog
53
  if search_query:
54
  filtered = filtered[filtered.apply(lambda row: search_query.lower() in str(row).lower(), axis=1)]
 
48
 
49
  # Function to filter the catalog based on multiple attributes with AND logic
50
  @st.cache_data
51
+ def filter_catalog(catalog, search_query=None, selected_category=None, cyber_approved=None, accessibility_approved=None, privacy_approved=None,review_status=None):
52
  filtered = catalog
53
  if search_query:
54
  filtered = filtered[filtered.apply(lambda row: search_query.lower() in str(row).lower(), axis=1)]