Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -99,32 +99,19 @@ def main():
|
|
99 |
"""
|
100 |
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
|
101 |
|
102 |
-
# Create
|
103 |
-
col1, col2 = st.columns([
|
104 |
|
105 |
with col1:
|
106 |
-
|
107 |
-
st.markdown("""
|
108 |
-
<style>
|
109 |
-
.title {
|
110 |
-
display: flex;
|
111 |
-
align-items: center; /* This will vertically center the title in the column */
|
112 |
-
height: 100%;
|
113 |
-
}
|
114 |
-
</style>
|
115 |
-
<div class="title">
|
116 |
-
<h1>Welcome to BinDocs ChatBot!</h1>
|
117 |
-
</div>
|
118 |
-
""", unsafe_allow_html=True)
|
119 |
|
120 |
with col2:
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
|
127 |
-
|
|
|
128 |
|
129 |
# Start tracking user interactions
|
130 |
with streamlit_analytics.track():
|
|
|
99 |
"""
|
100 |
st.markdown(hide_streamlit_style, unsafe_allow_html=True)
|
101 |
|
102 |
+
# Create columns for layout
|
103 |
+
col1, col2 = st.columns([3, 1]) # 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, use_column_width='always')
|
|
|
|
|
112 |
|
113 |
+
|
114 |
+
|
115 |
|
116 |
# Start tracking user interactions
|
117 |
with streamlit_analytics.track():
|