EasySci commited on
Commit
2e79090
·
1 Parent(s): 087d510

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +2 -2
app2.py CHANGED
@@ -108,10 +108,10 @@ def update_header():
108
  header_button.on_click(remove_from_header) # Add callback to remove the header button
109
  header_buttons.append(header_button)
110
 
111
- main_body_instance.main_body = TLDR.update_mainTLDR(filter_list, paper_list)
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
-
 
115
  # Callback to remove the clicked header button
116
  def remove_from_header(event):
117
  button = event.obj # Get the clicked button
 
108
  header_button.on_click(remove_from_header) # Add callback to remove the header button
109
  header_buttons.append(header_button)
110
 
 
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(filter_list.options, paper_list)
114
+
115
  # Callback to remove the clicked header button
116
  def remove_from_header(event):
117
  button = event.obj # Get the clicked button