Anne31415 commited on
Commit
6b3cf69
·
1 Parent(s): 6864033

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -99,16 +99,19 @@ def main():
99
  """
100
  st.markdown(hide_streamlit_style, unsafe_allow_html=True)
101
 
102
- # Main content
103
- col1, col2 = st.columns([8, 2]) # Adjust the ratio to your liking
104
 
105
  with col1:
106
- st.title("Welcome to BinDocs ChatBot!")
 
 
 
 
107
 
108
  with col2:
109
- # Load and display the image in the right column, which will be the top-right corner of the page
110
- image = Image.open('BinDoc Logo (Quadratisch).png')
111
- st.image(image)
112
 
113
 
114
 
 
99
  """
100
  st.markdown(hide_streamlit_style, unsafe_allow_html=True)
101
 
102
+ # Use columns to layout the title and image
103
+ col1, col2 = st.columns([0.8, 0.2]) # Adjust the ratio according to your needs
104
 
105
  with col1:
106
+ st.markdown("""
107
+ <h1 style="float: left; margin:0; padding:0; display: inline;">
108
+ Welcome to BinDocs ChatBot!
109
+ </h1>
110
+ """, unsafe_allow_html=True)
111
 
112
  with col2:
113
+ st.image('BinDoc Logo (Quadratisch).png', width=150, use_column_width=False) # Adjust the width as needed
114
+
 
115
 
116
 
117