Spaces:
Runtime error
Runtime error
Update app.py
Browse filesChangement de couleur
app.py
CHANGED
@@ -83,11 +83,26 @@ label_size = 27
|
|
83 |
st.set_page_config(layout="wide")
|
84 |
st.markdown('<style>' + open('./style.css').read() + '</style>', unsafe_allow_html=True)
|
85 |
|
86 |
-
st.title("
|
87 |
|
88 |
with st.sidebar:
|
89 |
tabs = on_hover_tabs(tabName=['Introduction', "Analyse", "Preprocessing", "Modèle", "Pistes exploratoires"],
|
90 |
-
iconName=['apps', 'bar_chart', "sync", "memory", "topic"],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
st.markdown("""
|
93 |
<style>
|
@@ -101,7 +116,7 @@ st.markdown("""
|
|
101 |
|
102 |
|
103 |
if tabs == "Introduction":
|
104 |
-
st.write("
|
105 |
st.write("Ici")
|
106 |
|
107 |
elif tabs == "Analyse":
|
@@ -121,4 +136,6 @@ elif tabs == "Modèle":
|
|
121 |
|
122 |
elif tabs == "Pistes exploratoires":
|
123 |
st.write("# Pistes exploratoires")
|
124 |
-
st.write("Ici")
|
|
|
|
|
|
83 |
st.set_page_config(layout="wide")
|
84 |
st.markdown('<style>' + open('./style.css').read() + '</style>', unsafe_allow_html=True)
|
85 |
|
86 |
+
st.title("Rakuten Challenge")
|
87 |
|
88 |
with st.sidebar:
|
89 |
tabs = on_hover_tabs(tabName=['Introduction', "Analyse", "Preprocessing", "Modèle", "Pistes exploratoires"],
|
90 |
+
iconName=['apps', 'bar_chart', "sync", "memory", "topic"],
|
91 |
+
styles = {'navtab': {'background-color':'RGB(55,71,79)',
|
92 |
+
'color': 'RGB(180,180,180)',
|
93 |
+
'font-size': '18px',
|
94 |
+
'transition': '.3s',
|
95 |
+
'white-space': 'nowrap',
|
96 |
+
'text-transform': 'uppercase'},
|
97 |
+
'tabOptionsStyle': {':hover :hover': {'color': 'RGB(235,197,82)',
|
98 |
+
'cursor': 'pointer'}},
|
99 |
+
'iconStyle':{'position':'fixed',
|
100 |
+
'left':'7.5px',
|
101 |
+
'text-align': 'left'},
|
102 |
+
'tabStyle' : {'list-style-type': 'none',
|
103 |
+
'margin-bottom': '30px',
|
104 |
+
'padding-left': '30px'}},
|
105 |
+
default_choice=0)
|
106 |
|
107 |
st.markdown("""
|
108 |
<style>
|
|
|
116 |
|
117 |
|
118 |
if tabs == "Introduction":
|
119 |
+
st.write("### Introduction")
|
120 |
st.write("Ici")
|
121 |
|
122 |
elif tabs == "Analyse":
|
|
|
136 |
|
137 |
elif tabs == "Pistes exploratoires":
|
138 |
st.write("# Pistes exploratoires")
|
139 |
+
st.write("Ici")
|
140 |
+
|
141 |
+
|