Spaces:
GIZ
/
Running on CPU Upgrade

prashant commited on
Commit
58a94cf
1 Parent(s): 6071464

error fix checkbox

Browse files
Files changed (1) hide show
  1. utils/streamlitcheck.py +1 -1
utils/streamlitcheck.py CHANGED
@@ -35,7 +35,7 @@ def checkbox_without_preselect(keylist):
35
  on_change = disable_other_checkboxes,
36
  args=tuple(list(filter(lambda x: x!= key_val, keylist))),)
37
 
38
- for key,val in dict_:
39
  if val == True:
40
  return keylist[int(key)]
41
 
 
35
  on_change = disable_other_checkboxes,
36
  args=tuple(list(filter(lambda x: x!= key_val, keylist))),)
37
 
38
+ for key,val in dict_.items():
39
  if val == True:
40
  return keylist[int(key)]
41