karthikmad commited on
Commit
79acc49
1 Parent(s): 61173ea

Bug Fix for multiselect

Browse files

In prompt and output, the multiselect of "Code" condition the default option set as "Python" instead of "python"

Files changed (2) hide show
  1. output.py +1 -1
  2. prompt.py +1 -1
output.py CHANGED
@@ -172,7 +172,7 @@ def init_settings() -> (List, Dict):
172
  st_cd_languages = st.multiselect(
173
  "Programming languages",
174
  options=SUPPORTED_CODE_LANGUAGES,
175
- default=["Python"],
176
  )
177
 
178
  st_cd_is_blocked = st.checkbox("Is blocked", value=False, key="cd_is_blocked")
 
172
  st_cd_languages = st.multiselect(
173
  "Programming languages",
174
  options=SUPPORTED_CODE_LANGUAGES,
175
+ default=["python"],
176
  )
177
 
178
  st_cd_is_blocked = st.checkbox("Is blocked", value=False, key="cd_is_blocked")
prompt.py CHANGED
@@ -205,7 +205,7 @@ def init_settings() -> (List, Dict):
205
  st_cd_languages = st.multiselect(
206
  "Programming languages",
207
  SUPPORTED_CODE_LANGUAGES,
208
- default=["Python"],
209
  )
210
 
211
  st_cd_is_blocked = st.checkbox("Is blocked", value=False, key="code_is_blocked")
 
205
  st_cd_languages = st.multiselect(
206
  "Programming languages",
207
  SUPPORTED_CODE_LANGUAGES,
208
+ default=["python"],
209
  )
210
 
211
  st_cd_is_blocked = st.checkbox("Is blocked", value=False, key="code_is_blocked")