EasySci commited on
Commit
79c07c4
·
1 Parent(s): 3bd9181

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
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