Ilyas KHIAT commited on
Commit
a2b2891
·
1 Parent(s): 46e0ad2

redisp prompts

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -71,8 +71,9 @@ def main():
71
  [
72
  "Audit flash RSE de vos contenus",
73
  "Parties prenantes",
74
- "Chatbot partie prenante",
75
- "Chatbot TE",
 
76
  ]
77
  )
78
 
@@ -89,14 +90,14 @@ def main():
89
  # if selected_company:
90
  # display_materiality_matrix(selected_company, data, bziiit_data)
91
 
92
- elif ia_mode == "Chatbot partie prenante":
93
  display_chat()
94
 
95
  elif ia_mode == "Audit flash RSE de vos contenus":
96
  rag_pdf_web()
97
 
98
- # elif ia_mode == "Prompt RSE disponibles":
99
- # get_prompts_list()
100
 
101
  # elif ia_mode == "Générations de contenus RSE":
102
  # st.header("Exécutez un prompt")
@@ -104,7 +105,7 @@ def main():
104
  # selected_prompt = prompt_execution()
105
  # if selected_prompt:
106
  # execute_prompt(selected_prompt)
107
- elif ia_mode == "Chatbot TE":
108
  display_chat_te()
109
 
110
  elif section_principale == "Documentation":
 
71
  [
72
  "Audit flash RSE de vos contenus",
73
  "Parties prenantes",
74
+ "Chatbot Parties Prenantes",
75
+ "Prompts RSE - TE",
76
+ "Chatbot RSE - TE",
77
  ]
78
  )
79
 
 
90
  # if selected_company:
91
  # display_materiality_matrix(selected_company, data, bziiit_data)
92
 
93
+ elif ia_mode == "Chatbot Parties Prenantes":
94
  display_chat()
95
 
96
  elif ia_mode == "Audit flash RSE de vos contenus":
97
  rag_pdf_web()
98
 
99
+ elif ia_mode == "Prompts RSE - TE":
100
+ get_prompts_list()
101
 
102
  # elif ia_mode == "Générations de contenus RSE":
103
  # st.header("Exécutez un prompt")
 
105
  # selected_prompt = prompt_execution()
106
  # if selected_prompt:
107
  # execute_prompt(selected_prompt)
108
+ elif ia_mode == "Chatbot RSE - TE":
109
  display_chat_te()
110
 
111
  elif section_principale == "Documentation":