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

default colors

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -167,6 +167,7 @@ def make_editing_canvas(canvas_color, brush, _reset_state, generation_mode, pain
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'])
 
167
  label="Choose colors",
168
  options=st.session_state['unique_colors'],
169
  key='chosen_colors',
170
+ default=st.session_state['unique_colors'],
171
  format_func=map_colors_rgb
172
  )
173
  print(st.session_state['unique_colors'])