Spaces:
Sleeping
Sleeping
Update app2.py
Browse files
app2.py
CHANGED
|
@@ -58,7 +58,7 @@ buttons_to_add = []
|
|
| 58 |
# Callback for adding selected options to the list
|
| 59 |
def add_to_header(event):
|
| 60 |
selected_options = filter_list.value
|
| 61 |
-
print("This is the button list2:", filter_list.value, buttons_to_add, flush=True)
|
| 62 |
if selected_options:
|
| 63 |
for option in selected_options:
|
| 64 |
if option not in buttons_to_add: # Check if option is already in header
|
|
|
|
| 58 |
# Callback for adding selected options to the list
|
| 59 |
def add_to_header(event):
|
| 60 |
selected_options = filter_list.value
|
| 61 |
+
print("This is the button list2:", filter_list, filter_list.value, buttons_to_add, flush=True)
|
| 62 |
if selected_options:
|
| 63 |
for option in selected_options:
|
| 64 |
if option not in buttons_to_add: # Check if option is already in header
|