Spaces:
Running
on
T4
Running
on
T4
app look
Browse files
app.py
CHANGED
@@ -29,6 +29,13 @@ st.markdown("""
|
|
29 |
font-family: 'Amazon Ember', sans-serif;
|
30 |
}
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
.block-container {
|
33 |
padding-top: 5rem;
|
34 |
}
|
@@ -125,37 +132,23 @@ st.markdown("""
|
|
125 |
|
126 |
|
127 |
# Header with logo and title
|
128 |
-
|
129 |
with col_logo:
|
130 |
-
st.
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
st.write("")
|
136 |
-
|
137 |
-
#st.image("/home/ubuntu/images/OS_AI_1.png", use_column_width=True)
|
138 |
-
# with col_title:
|
139 |
-
# st.write("")
|
140 |
-
# st.markdown('<div class="title">OpenSearch AI demos</div>', unsafe_allow_html=True)
|
141 |
-
|
142 |
-
# def demo_link_block(icon, title, target_page):
|
143 |
-
# st.markdown(f"""
|
144 |
-
# <a href="/{target_page}" target="_self" style="text-decoration: none;">
|
145 |
-
# <div class="demo-card">
|
146 |
-
# <div class="demo-text">
|
147 |
-
# <span>{icon} {title}</span>
|
148 |
-
# <span class="demo-arrow">→</span>
|
149 |
-
# </div>
|
150 |
-
# </div>
|
151 |
-
# </a>
|
152 |
-
# """, unsafe_allow_html=True)
|
153 |
|
|
|
|
|
154 |
|
155 |
# st.write("")
|
156 |
-
#
|
157 |
-
#
|
158 |
-
#
|
|
|
|
|
159 |
|
160 |
|
161 |
col1, col2, col3 = st.columns(3)
|
|
|
29 |
font-family: 'Amazon Ember', sans-serif;
|
30 |
}
|
31 |
|
32 |
+
.logo-container {
|
33 |
+
margin-bottom: 3rem; /* Increase spacing between logo and cards */
|
34 |
+
position: relative;
|
35 |
+
z-index: 1;
|
36 |
+
}
|
37 |
+
|
38 |
+
|
39 |
.block-container {
|
40 |
padding-top: 5rem;
|
41 |
}
|
|
|
132 |
|
133 |
|
134 |
# Header with logo and title
|
135 |
+
col_logo, col_title = st.columns([31, 66])
|
136 |
with col_logo:
|
137 |
+
st.markdown("""
|
138 |
+
<div class="logo-container" style="position: absolute; top: 2rem; left: 2rem;">
|
139 |
+
<img src="images/OS_AI_1_cropped.png" style="width: 180px;">
|
140 |
+
</div>
|
141 |
+
""", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
|
143 |
+
# Optional: Add a margin-top to the demo section to avoid overlap
|
144 |
+
st.markdown("<div style='margin-top: 160px;'></div>", unsafe_allow_html=True)
|
145 |
|
146 |
# st.write("")
|
147 |
+
# st.write("")
|
148 |
+
# st.write("")
|
149 |
+
# st.write("")
|
150 |
+
|
151 |
+
|
152 |
|
153 |
|
154 |
col1, col2, col3 = st.columns(3)
|