Anne31415 commited on
Commit
6af6ea2
1 Parent(s): f6ba0c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +23 -2
app.py CHANGED
@@ -503,8 +503,29 @@ def page2():
503
 
504
  def page3():
505
  try:
506
- # Basic layout setup
507
- st.title("Kosten- und Strukturdaten der Krankenhäuser")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
508
 
509
  # Initialize CromA client
510
  chroma_client = chromadb.Client()
 
503
 
504
  def page3():
505
  try:
506
+ hide_streamlit_style = """
507
+ <style>
508
+ #MainMenu {visibility: hidden;}
509
+ footer {visibility: hidden;}
510
+ </style>
511
+ """
512
+ st.markdown(hide_streamlit_style, unsafe_allow_html=True)
513
+
514
+ # Create columns for layout
515
+ col1, col2 = st.columns([3, 1]) # Adjust the ratio to your liking
516
+
517
+ with col1:
518
+ st.title("Kosten- und Strukturdaten der Krankenhäuser")
519
+
520
+ with col2:
521
+ # Load and display the image in the right column, which will be the top-right corner of the page
522
+ image = Image.open('BinDoc Logo (Quadratisch).png')
523
+ st.image(image, use_column_width='always')
524
+
525
+
526
+ if not os.path.exists(pdf_path2):
527
+ st.error("File not found. Please check the file path.")
528
+ return
529
 
530
  # Initialize CromA client
531
  chroma_client = chromadb.Client()