nesticot commited on
Commit
c19fadc
·
1 Parent(s): 1117af8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -588,7 +588,8 @@ def server(input, output, session):
588
  colour_df = pd.DataFrame(data=[col_1_colour,col_2_colour,col_3_colour]).T.values
589
 
590
  if colour_df[[0],[2]] == 0:
591
- colour_df[colour_df.columns[1]] = 'white'
 
592
 
593
  colour_df[[0],[0]] = 'white'
594
  colour_df[[1],[0]] = 'white'
 
588
  colour_df = pd.DataFrame(data=[col_1_colour,col_2_colour,col_3_colour]).T.values
589
 
590
  if colour_df[[0],[2]] == 0:
591
+ for i in range(len(colour_df)):
592
+ colour_df[[i][1]] = 'white'
593
 
594
  colour_df[[0],[0]] = 'white'
595
  colour_df[[1],[0]] = 'white'