Ilyas KHIAT
commited on
Commit
·
9a03021
1
Parent(s):
6720cfb
conso carbon
Browse files
app.py
CHANGED
|
@@ -125,11 +125,7 @@ def main():
|
|
| 125 |
elif section_principale == "Documentation":
|
| 126 |
display_documentation()
|
| 127 |
|
| 128 |
-
#
|
| 129 |
-
st.sidebar.markdown("---")
|
| 130 |
-
st.sidebar.markdown("Powered by **bziiit IA RSE**")
|
| 131 |
-
st.sidebar.markdown("2024 : Open source en Licence MIT")
|
| 132 |
-
st.sidebar.markdown("info@bziiit.com")
|
| 133 |
st.sidebar.markdown("---")
|
| 134 |
|
| 135 |
svg_file_path = "feuille.svg"
|
|
@@ -148,5 +144,12 @@ def main():
|
|
| 148 |
display_comparaison(col2,st.session_state['emission'].stop(),dict_comparaison_1kgCO2["smartphones"][0],dict_comparaison_1kgCO2["smartphones"][1],"")
|
| 149 |
display_comparaison(col3,st.session_state['emission'].stop(),dict_comparaison_1kgCO2["voiture en km"][0]*1000,dict_comparaison_1kgCO2["voiture en km"][1],"m")
|
| 150 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
if __name__ == "__main__":
|
| 152 |
main()
|
|
|
|
| 125 |
elif section_principale == "Documentation":
|
| 126 |
display_documentation()
|
| 127 |
|
| 128 |
+
#consommation carbone
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
st.sidebar.markdown("---")
|
| 130 |
|
| 131 |
svg_file_path = "feuille.svg"
|
|
|
|
| 144 |
display_comparaison(col2,st.session_state['emission'].stop(),dict_comparaison_1kgCO2["smartphones"][0],dict_comparaison_1kgCO2["smartphones"][1],"")
|
| 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**")
|
| 151 |
+
st.sidebar.markdown("2024 : Open source en Licence MIT")
|
| 152 |
+
st.sidebar.markdown("info@bziiit.com")
|
| 153 |
+
|
| 154 |
if __name__ == "__main__":
|
| 155 |
main()
|