EasySci commited on
Commit
e4257aa
·
1 Parent(s): b4673ba

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +1 -2
app2.py CHANGED
@@ -108,8 +108,7 @@ def update_header():
108
  header_button = pn.widgets.Button(name=button_name, button_type = 'primary', button_style = 'outline')
109
  header_button.on_click(remove_from_header) # Add callback to remove the header button
110
  header_buttons.append(header_button)
111
-
112
- print("Change in buttons:", paper_list, flush=True)
113
  # Update the filter list options to exclude buttons that are already in the header
114
  filter_list.options = [option for option in entered_options if option not in buttons_to_add]
115
  main_body_instance.main_body = TLDR.update_mainTLDR(buttons_to_add, paper_list)
 
108
  header_button = pn.widgets.Button(name=button_name, button_type = 'primary', button_style = 'outline')
109
  header_button.on_click(remove_from_header) # Add callback to remove the header button
110
  header_buttons.append(header_button)
111
+ buttons_to_add
 
112
  # Update the filter list options to exclude buttons that are already in the header
113
  filter_list.options = [option for option in entered_options if option not in buttons_to_add]
114
  main_body_instance.main_body = TLDR.update_mainTLDR(buttons_to_add, paper_list)