BertChristiaens commited on
Commit
8604dfb
1 Parent(s): d0613b1

chosen colors

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -166,10 +166,10 @@ def make_editing_canvas(canvas_color, brush, _reset_state, generation_mode, pain
166
  chosen_colors = st.multiselect(
167
  label="Choose colors",
168
  options=st.session_state['unique_colors'],
169
- default=None,
170
- key='unique_colors',
171
  format_func=map_colors_rgb
172
  )
 
173
 
174
  if st.button("generate image", key='generate_button'):
175
  image = get_image()
 
166
  chosen_colors = st.multiselect(
167
  label="Choose colors",
168
  options=st.session_state['unique_colors'],
169
+ key='chosen_colors',
 
170
  format_func=map_colors_rgb
171
  )
172
+ print(st.session_state['unique_colors'])
173
 
174
  if st.button("generate image", key='generate_button'):
175
  image = get_image()