Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -220,7 +220,7 @@ with demo:
|
|
| 220 |
print("Featured models radio button created.")
|
| 221 |
|
| 222 |
# Filter function for the radio button list
|
| 223 |
-
def filter_models(search_term):
|
| 224 |
print(f"Filtering models with search term: {search_term}") # Log the search term
|
| 225 |
filtered = [m for m in models_list if search_term.lower() in m.lower()] # Filter models by search term
|
| 226 |
print(f"Filtered models: {filtered}") # Log filtered models
|
|
|
|
| 220 |
print("Featured models radio button created.")
|
| 221 |
|
| 222 |
# Filter function for the radio button list
|
| 223 |
+
def filter_models(search_term):
|
| 224 |
print(f"Filtering models with search term: {search_term}") # Log the search term
|
| 225 |
filtered = [m for m in models_list if search_term.lower() in m.lower()] # Filter models by search term
|
| 226 |
print(f"Filtered models: {filtered}") # Log filtered models
|