Spaces:
Running
Running
Update my_model/state_manager.py
Browse files
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,
|
75 |
else:
|
76 |
-
return col.slider(text, min_value, max_value, value, step, key=slider_key_name,
|
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):
|