m7mdal7aj commited on
Commit
4e59653
1 Parent(s): ddf7cf5

Update my_model/state_manager.py

Browse files
Files changed (1) hide show
  1. my_model/state_manager.py +2 -2
my_model/state_manager.py CHANGED
@@ -71,9 +71,9 @@ class StateManager:
71
  """
72
 
73
  if col is None:
74
- return st.slider(text, min_value, max_value, value, step, key=slider_key_name, on_click=self.disable_widgets, disabled=self.is_widget_disabledd)
75
  else:
76
- return col.slider(text, min_value, max_value, value, step, key=slider_key_name, on_click=self.disable_widgets, disabled=self.is_widget_disabled)
77
 
78
  @property
79
  def is_widget_disabled(self):
 
71
  """
72
 
73
  if col is None:
74
+ return st.slider(text, min_value, max_value, value, step, key=slider_key_name, disabled=self.is_widget_disabledd)
75
  else:
76
+ return col.slider(text, min_value, max_value, value, step, key=slider_key_name, disabled=self.is_widget_disabled)
77
 
78
  @property
79
  def is_widget_disabled(self):