EasySci commited on
Commit
28f5412
·
1 Parent(s): 7175e43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)