Spaces:
Sleeping
Sleeping
Update app2.py
Browse files
app2.py
CHANGED
|
@@ -77,7 +77,7 @@ def update_header():
|
|
| 77 |
header_button.on_click(remove_from_header) # Add callback to remove the header button
|
| 78 |
header_buttons.append(header_button)
|
| 79 |
|
| 80 |
-
main_body_instance.main_body = TLDR.update_mainTLDR(buttons_to_add)
|
| 81 |
# Update the filter list options to exclude buttons that are already in the header
|
| 82 |
filter_list.options = [option for option in entered_options if option not in buttons_to_add]
|
| 83 |
|
|
|
|
| 77 |
header_button.on_click(remove_from_header) # Add callback to remove the header button
|
| 78 |
header_buttons.append(header_button)
|
| 79 |
|
| 80 |
+
main_body_instance.main_body = TLDR.update_mainTLDR(buttons_to_add, paper_list)
|
| 81 |
# Update the filter list options to exclude buttons that are already in the header
|
| 82 |
filter_list.options = [option for option in entered_options if option not in buttons_to_add]
|
| 83 |
|