EasySci commited on
Commit
8621435
·
1 Parent(s): 70e3528

Update app2.py

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