EasySci commited on
Commit
8d33d20
·
1 Parent(s): b97980c

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +2 -1
app2.py CHANGED
@@ -31,7 +31,7 @@ button3 = pn.widgets.Button(icon='settings', icon_size='1.5em', name='Settings',
31
 
32
  # Custom RadioButtonGroup widget
33
  select = pn.widgets.RadioButtonGroup(value="Scientic", options=["General", "Scientic"], name='String', align='center', button_type='primary')
34
- select2 = pn.widgets.RadioButtonGroup(value="Scientic", options=["BionicReading", "Normal"], name='String', align='center', button_type='primary')
35
 
36
  # Define a callback to display the selected value
37
  def display_selected_value(event):
@@ -39,6 +39,7 @@ def display_selected_value(event):
39
 
40
  # Attach the callback to the value_change event of the RadioButtonGroup
41
  select.param.watch(display_selected_value, 'value')
 
42
 
43
  # Create a column layout for the buttons inside the toggleable sidebar
44
  buttons = pn.Column(
 
31
 
32
  # Custom RadioButtonGroup widget
33
  select = pn.widgets.RadioButtonGroup(value="Scientic", options=["General", "Scientic"], name='String', align='center', button_type='primary')
34
+ select2 = pn.widgets.RadioButtonGroup(value="Normal", options=["Bionic", "Normal"], name='String', align='center', button_type='primary')
35
 
36
  # Define a callback to display the selected value
37
  def display_selected_value(event):
 
39
 
40
  # Attach the callback to the value_change event of the RadioButtonGroup
41
  select.param.watch(display_selected_value, 'value')
42
+ select2.param.watch(display_selected_value, 'value')
43
 
44
  # Create a column layout for the buttons inside the toggleable sidebar
45
  buttons = pn.Column(