COULIBALY BOURAHIMA commited on
Commit
eb74853
·
1 Parent(s): ed52ac0

documentation

Browse files
App/functions_rupture/__pycache__/functions_gestion.cpython-311.pyc CHANGED
Binary files a/App/functions_rupture/__pycache__/functions_gestion.cpython-311.pyc and b/App/functions_rupture/__pycache__/functions_gestion.cpython-311.pyc differ
 
App/utils/__pycache__/divers_function.cpython-311.pyc CHANGED
Binary files a/App/utils/__pycache__/divers_function.cpython-311.pyc and b/App/utils/__pycache__/divers_function.cpython-311.pyc differ
 
App/utils/divers_function.py CHANGED
@@ -156,4 +156,4 @@ def display_data_with_download_button(df, title="Data without decision-making"):
156
  df.loc[:, "Evaluation"] = True
157
  edited_df = st.data_editor(df)
158
  csv_data = convert_df(edited_df)
159
- st.download_button(label="Download data as CSV", data=csv_data, file_name='sample_df.csv', mime='text/csv')
 
156
  df.loc[:, "Evaluation"] = True
157
  edited_df = st.data_editor(df)
158
  csv_data = convert_df(edited_df)
159
+ st.download_button(label="Download data as CSV", data=csv_data, file_name=f'{title}.csv', mime='text/csv')
pages/🤖_Gestion_de_rupture_famille.py CHANGED
@@ -156,10 +156,15 @@ def app():
156
 
157
 
158
  if __name__ == "__main__":
159
- lien_label = "# Example of input"
160
  lien_url = "https://docs.google.com/spreadsheets/d/123hVTOFpBT-C6mCnrOBh8fFIhSi8FxiuyHZJAQu8bDc/edit#gid=1220891905"
161
  lien_html = f'<a href="{lien_url}">{lien_label}</a>'
162
 
 
 
 
 
163
  config_page()
 
164
  st.sidebar.markdown(lien_html, unsafe_allow_html=True)
165
  app()
 
156
 
157
 
158
  if __name__ == "__main__":
159
+ lien_label = "Example of input"
160
  lien_url = "https://docs.google.com/spreadsheets/d/123hVTOFpBT-C6mCnrOBh8fFIhSi8FxiuyHZJAQu8bDc/edit#gid=1220891905"
161
  lien_html = f'<a href="{lien_url}">{lien_label}</a>'
162
 
163
+ lien_label_ = "Documentation utilisateur"
164
+ lien_url_ = "https://docs.google.com/document/d/1WQwr5D87ZHSlBRWQw7KMbBhbEdFS4dlhltFDgZBNP4U/edit?usp=sharing"
165
+ lien_html_ = f'<a href="{lien_url_}">{lien_label_}</a>'
166
+
167
  config_page()
168
+ st.sidebar.markdown(lien_html_, unsafe_allow_html=True)
169
  st.sidebar.markdown(lien_html, unsafe_allow_html=True)
170
  app()
pages/🦾_Gestion_de_rupture_sous_famille.py CHANGED
@@ -163,5 +163,10 @@ if __name__ == "__main__":
163
  lien_url = "https://docs.google.com/spreadsheets/d/123hVTOFpBT-C6mCnrOBh8fFIhSi8FxiuyHZJAQu8bDc/edit#gid=1220891905"
164
  lien_html = f'<a href="{lien_url}">{lien_label}</a>'
165
 
 
 
 
 
 
166
  st.sidebar.markdown(lien_html, unsafe_allow_html=True)
167
  app()
 
163
  lien_url = "https://docs.google.com/spreadsheets/d/123hVTOFpBT-C6mCnrOBh8fFIhSi8FxiuyHZJAQu8bDc/edit#gid=1220891905"
164
  lien_html = f'<a href="{lien_url}">{lien_label}</a>'
165
 
166
+ lien_label_ = "Documentation utilisateur"
167
+ lien_url_ = "https://docs.google.com/document/d/1WQwr5D87ZHSlBRWQw7KMbBhbEdFS4dlhltFDgZBNP4U/edit?usp=sharing"
168
+ lien_html_ = f'<a href="{lien_url_}">{lien_label_}</a>'
169
+
170
+ st.sidebar.markdown(lien_html_, unsafe_allow_html=True)
171
  st.sidebar.markdown(lien_html, unsafe_allow_html=True)
172
  app()