Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ add_to_header_button.on_click(add_to_header)
|
|
| 53 |
|
| 54 |
# Function to update the header layout with the newly created buttons
|
| 55 |
def update_header():
|
| 56 |
-
header_buttons.clear() # Clear the existing buttons
|
| 57 |
for button_name in buttons_to_add:
|
| 58 |
new_button = pn.widgets.Button(name=button_name, width=130, sizing_mode='fixed')
|
| 59 |
header_buttons.append(new_button)
|
|
|
|
| 53 |
|
| 54 |
# Function to update the header layout with the newly created buttons
|
| 55 |
def update_header():
|
| 56 |
+
# header_buttons.clear() # Clear the existing buttons
|
| 57 |
for button_name in buttons_to_add:
|
| 58 |
new_button = pn.widgets.Button(name=button_name, width=130, sizing_mode='fixed')
|
| 59 |
header_buttons.append(new_button)
|