Commit
·
c8c3cc4
1
Parent(s):
71a44bf
V1 05
Browse files- AnalyseActionsRSE.py +10 -0
- IA _RSE/analyseActionsRSE.py +0 -7
- app.py +5 -17
AnalyseActionsRSE.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# IA_RSE/AnalyseActionsRSE.py
|
2 |
+
import streamlit as st
|
3 |
+
import pandas as pd
|
4 |
+
from data_manager import get_data
|
5 |
+
|
6 |
+
# Fonction pour l'onglet "Analyse actions RSE"
|
7 |
+
def display_analyse_actions_rse():
|
8 |
+
st.markdown("## IA RSE")
|
9 |
+
st.markdown("### Classification des actions RSE selon les critères de la norme ISO 26000")
|
10 |
+
|
IA _RSE/analyseActionsRSE.py
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
|
3 |
-
def display_analyse_actions_rse():
|
4 |
-
return 0
|
5 |
-
|
6 |
-
if __name__ == "__main__":
|
7 |
-
display_analyse_actions_rse()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app.py
CHANGED
@@ -1,16 +1,12 @@
|
|
|
|
|
|
|
|
1 |
import streamlit as st
|
2 |
from organisations_engagees import display_organisations_engagees
|
3 |
from localisation import display_map
|
4 |
from statistiques import main as display_statistics
|
5 |
from ActionsRSE import display_actions_rse
|
6 |
-
|
7 |
-
# Import des fonctions IA depuis le sous-répertoire
|
8 |
-
from IA_RSE.analyseActionsRSE import display_analyse_actions_rse
|
9 |
-
|
10 |
-
# from IA_COMMERCE.Doc_Ref_COMMERCE import display_doc_ref_commerce
|
11 |
-
# from IA_COMMERCE.BP_COMMERCE import display_bp_commerce
|
12 |
-
# from IA_COMMERCE.Financement_TE_COMMERCE import display_Financement_TE_Commerce
|
13 |
-
# from IA_COMMERCE.IA_COMMERCE import display_ia_commerce
|
14 |
|
15 |
def main():
|
16 |
st.sidebar.title("OPEN DATA & IA au service de la RSE")
|
@@ -38,14 +34,6 @@ def main():
|
|
38 |
"Choisissez votre onglet",
|
39 |
["Projets RSE", "Labels RSE", "Marques engagées"]
|
40 |
)
|
41 |
-
# if ia_mode == "Documents Référence":
|
42 |
-
# display_doc_ref_commerce()
|
43 |
-
# elif ia_mode == "Bonnes Pratiques":
|
44 |
-
# display_bp_commerce()
|
45 |
-
# elif ia_mode == "Financements":
|
46 |
-
# display_Financement_TE_Commerce()
|
47 |
-
# elif ia_mode == "Dialogue IA":
|
48 |
-
# display_ia_commerce()
|
49 |
|
50 |
elif section_principale == "IA RSE":
|
51 |
ia_mode = st.sidebar.radio(
|
@@ -53,7 +41,7 @@ def main():
|
|
53 |
["Analyse actions RSE"]
|
54 |
)
|
55 |
if ia_mode == "Analyse actions RSE":
|
56 |
-
|
57 |
|
58 |
# Instructions communes à toutes les sections
|
59 |
st.sidebar.markdown("---")
|
|
|
1 |
+
import sys
|
2 |
+
import os
|
3 |
+
|
4 |
import streamlit as st
|
5 |
from organisations_engagees import display_organisations_engagees
|
6 |
from localisation import display_map
|
7 |
from statistiques import main as display_statistics
|
8 |
from ActionsRSE import display_actions_rse
|
9 |
+
from AnalyseActionsRSE import display_analyse_actions_rse
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
def main():
|
12 |
st.sidebar.title("OPEN DATA & IA au service de la RSE")
|
|
|
34 |
"Choisissez votre onglet",
|
35 |
["Projets RSE", "Labels RSE", "Marques engagées"]
|
36 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
elif section_principale == "IA RSE":
|
39 |
ia_mode = st.sidebar.radio(
|
|
|
41 |
["Analyse actions RSE"]
|
42 |
)
|
43 |
if ia_mode == "Analyse actions RSE":
|
44 |
+
display_analyse_actions_rse()
|
45 |
|
46 |
# Instructions communes à toutes les sections
|
47 |
st.sidebar.markdown("---")
|