Anne31415 commited on
Commit
9a76ee4
1 Parent(s): cf95c50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -15
app.py CHANGED
@@ -630,26 +630,19 @@ def display_session_id():
630
  st.sidebar.markdown(f"**Your Session ID:** `{session_id}`")
631
  st.sidebar.markdown("Use this ID for reference in communications or feedback.")
632
 
 
633
  def main():
634
- # Define the HTML for the copy button
635
- session_id = st.session_state.get('session_id', 'No Session ID')
636
- copy_button = f'''
637
- <button onclick='navigator.clipboard.writeText("{session_id}")'>
638
- Copy Session ID
639
- </button>
640
- '''
641
-
642
  # Sidebar content
643
  with st.sidebar:
644
  st.title('BinDoc GmbH')
 
 
 
 
 
 
645
 
646
- # Navigation
647
- page = st.selectbox("Choose a page", ["KH_Reform", "Kennzahlenbuch 100 Kennzahlen", "Kosten- und Strukturdaten der Krankenhäuser", "Form"])
648
- st.text('Made with ❤️ by BinDoc GmbH')
649
-
650
- # Display Session ID
651
- st.text(f"Your Session ID: {session_id}")
652
-
653
  # Main area content based on page selection
654
  if page == "KH_Reform":
655
  page1()
 
630
  st.sidebar.markdown(f"**Your Session ID:** `{session_id}`")
631
  st.sidebar.markdown("Use this ID for reference in communications or feedback.")
632
 
633
+ # Main function
634
  def main():
 
 
 
 
 
 
 
 
635
  # Sidebar content
636
  with st.sidebar:
637
  st.title('BinDoc GmbH')
638
+ st.markdown("Experience revolutionary interaction with BinDocs Chat App, leveraging state-of-the-art AI technology.")
639
+ add_vertical_space(1)
640
+ page = st.sidebar.selectbox("Choose a page", ["KH_Reform", "Kennzahlenbuch 100 Kennzahlen", "Kosten- und Strukturdaten der Krankenhäuser", "Form"])
641
+ add_vertical_space(4)
642
+ display_session_id() # Display the session ID in the sidebar
643
+ st.write('Made with ❤️ by BinDoc GmbH')
644
 
645
+
 
 
 
 
 
 
646
  # Main area content based on page selection
647
  if page == "KH_Reform":
648
  page1()