Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def highlight_survived(s):
|
|
59 |
return ['background-color: red']*len(s) if (s.Sexista == 1) else ['background-color: green']*len(s)
|
60 |
|
61 |
def color_survived(val):
|
62 |
-
color = '
|
63 |
return f'background-color: {color}'
|
64 |
|
65 |
st.set_page_config(layout="wide")
|
|
|
59 |
return ['background-color: red']*len(s) if (s.Sexista == 1) else ['background-color: green']*len(s)
|
60 |
|
61 |
def color_survived(val):
|
62 |
+
color = 'purpple' if val=='Sexista' else 'white'
|
63 |
return f'background-color: {color}'
|
64 |
|
65 |
st.set_page_config(layout="wide")
|