EasySci commited on
Commit
7424c00
·
1 Parent(s): d874818

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +1 -1
app2.py CHANGED
@@ -34,7 +34,7 @@ select = pn.widgets.RadioButtonGroup(value="⭐", options=["⭐", "🐘"], name=
34
 
35
  # Define a callback to display the selected value
36
  def display_selected_value(event):
37
- print(f"Selected value: {event.new}")
38
 
39
  # Attach the callback to the value_change event of the RadioButtonGroup
40
  select.param.watch(display_selected_value, 'value')
 
34
 
35
  # Define a callback to display the selected value
36
  def display_selected_value(event):
37
+ print(f"Selected value: {event.new}", flush = True)
38
 
39
  # Attach the callback to the value_change event of the RadioButtonGroup
40
  select.param.watch(display_selected_value, 'value')