Commit
·
d146066
1
Parent(s):
b30ce1c
fixed bug with str params
Browse files- src/control.py +0 -2
src/control.py
CHANGED
|
@@ -39,8 +39,6 @@ def select_several_RGB(param_name, **kwargs):
|
|
| 39 |
def select_radio(param_name, options_list, **kwargs):
|
| 40 |
st.sidebar.subheader(param_name)
|
| 41 |
result = st.sidebar.radio("", options_list)
|
| 42 |
-
if isinstance(options_list[0], str):
|
| 43 |
-
result = '"' + result + '"'
|
| 44 |
return result
|
| 45 |
|
| 46 |
|
|
|
|
| 39 |
def select_radio(param_name, options_list, **kwargs):
|
| 40 |
st.sidebar.subheader(param_name)
|
| 41 |
result = st.sidebar.radio("", options_list)
|
|
|
|
|
|
|
| 42 |
return result
|
| 43 |
|
| 44 |
|