Ilyas KHIAT
commited on
Commit
·
9c78e84
1
Parent(s):
7a8c8cb
conso carbon
Browse files- app.py +8 -2
- emissions.csv +0 -0
app.py
CHANGED
|
@@ -143,8 +143,14 @@ def main():
|
|
| 143 |
display_comparaison(col1,st.session_state['emission'].stop(),dict_comparaison_1kgCO2["eau en litre"][0]*1000,dict_comparaison_1kgCO2["eau en litre"][1],"ml")
|
| 144 |
display_comparaison(col2,st.session_state['emission'].stop(),dict_comparaison_1kgCO2["tgv en km"][0],dict_comparaison_1kgCO2["tgv en km"][1],"km")
|
| 145 |
display_comparaison(col3,st.session_state['emission'].stop(),dict_comparaison_1kgCO2["voiture en km"][0]*1000,dict_comparaison_1kgCO2["voiture en km"][1],"m")
|
| 146 |
-
|
| 147 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 148 |
# Instructions communes à toutes les sections
|
| 149 |
st.sidebar.markdown("---")
|
| 150 |
st.sidebar.markdown("Powered by **bziiit IA RSE**")
|
|
|
|
| 143 |
display_comparaison(col1,st.session_state['emission'].stop(),dict_comparaison_1kgCO2["eau en litre"][0]*1000,dict_comparaison_1kgCO2["eau en litre"][1],"ml")
|
| 144 |
display_comparaison(col2,st.session_state['emission'].stop(),dict_comparaison_1kgCO2["tgv en km"][0],dict_comparaison_1kgCO2["tgv en km"][1],"km")
|
| 145 |
display_comparaison(col3,st.session_state['emission'].stop(),dict_comparaison_1kgCO2["voiture en km"][0]*1000,dict_comparaison_1kgCO2["voiture en km"][1],"m")
|
| 146 |
+
st.sidebar.markdown("\n")
|
| 147 |
+
st.sidebar.markdown(
|
| 148 |
+
f"""
|
| 149 |
+
Powered by **ADEME**
|
| 150 |
+
<a href='https://www.ademe.fr' target='_blank'><img src='https://www.ademe.fr/wp-content/uploads/2022/11/ademe-logo-2022-1.svg' alt='svg' width='30' height='30' style='margin-left: 10px;'>
|
| 151 |
+
""",
|
| 152 |
+
unsafe_allow_html=True
|
| 153 |
+
)
|
| 154 |
# Instructions communes à toutes les sections
|
| 155 |
st.sidebar.markdown("---")
|
| 156 |
st.sidebar.markdown("Powered by **bziiit IA RSE**")
|
emissions.csv
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|