Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,9 +45,7 @@ def add_to_header(event):
|
|
| 45 |
if selected_options:
|
| 46 |
buttons_to_add.extend(selected_options) # Extend the list with selected options
|
| 47 |
filter_list.value = [] # Clear the selected options after adding them to the list
|
| 48 |
-
|
| 49 |
-
# Update the header immediately after adding the options
|
| 50 |
-
update_header()
|
| 51 |
|
| 52 |
add_to_header_button.on_click(add_to_header)
|
| 53 |
|
|
|
|
| 45 |
if selected_options:
|
| 46 |
buttons_to_add.extend(selected_options) # Extend the list with selected options
|
| 47 |
filter_list.value = [] # Clear the selected options after adding them to the list
|
| 48 |
+
update_header()
|
|
|
|
|
|
|
| 49 |
|
| 50 |
add_to_header_button.on_click(add_to_header)
|
| 51 |
|