duongthienz commited on
Commit
84ecf63
·
verified ·
1 Parent(s): efa4117

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -282,9 +282,9 @@ try:
282
  # Use a shared startingHue so both color pools step evenly from the same
283
  # point, reducing the chance of similar adjacent colors.
284
  _hue = int(random.random() * 180)
285
- catTypeColors = utils.colorsCSS(3, startingHue=_hue)
286
  allColors = utils.colorsCSS(len(speakerNames) + len(st.session_state.categories),
287
- startingHue=_hue)
288
  speakerColors = allColors[:len(speakerNames)]
289
  catColors = allColors[len(speakerNames):]
290
 
 
282
  # Use a shared startingHue so both color pools step evenly from the same
283
  # point, reducing the chance of similar adjacent colors.
284
  _hue = int(random.random() * 180)
285
+ catTypeColors = utils.colorsCSS(3, startingHue=_hue, pool=24)
286
  allColors = utils.colorsCSS(len(speakerNames) + len(st.session_state.categories),
287
+ startingHue=_hue, pool=24)
288
  speakerColors = allColors[:len(speakerNames)]
289
  catColors = allColors[len(speakerNames):]
290