Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
rerank model
Browse files
app.py
CHANGED
|
@@ -82,7 +82,7 @@ st.markdown("""
|
|
| 82 |
font-size: 25px;
|
| 83 |
color: #AAA;
|
| 84 |
text-transform: uppercase;
|
| 85 |
-
|
| 86 |
padding-bottom: 8px;
|
| 87 |
margin-bottom: 12px;
|
| 88 |
display: flex;
|
|
@@ -92,7 +92,7 @@ st.markdown("""
|
|
| 92 |
}
|
| 93 |
|
| 94 |
.card-text {
|
| 95 |
-
font-size:
|
| 96 |
font-weight: 500;
|
| 97 |
flex-grow: 1;
|
| 98 |
display: flex;
|
|
@@ -106,6 +106,7 @@ st.markdown("""
|
|
| 106 |
opacity: 1;
|
| 107 |
color: #e46e08;
|
| 108 |
font-size: 28px;
|
|
|
|
| 109 |
transform: scale(1.2); /* Optional: adds smooth grow effect */
|
| 110 |
transition: all 0.3s ease-in-out;
|
| 111 |
}
|
|
@@ -143,6 +144,8 @@ st.markdown("""
|
|
| 143 |
|
| 144 |
|
| 145 |
|
|
|
|
|
|
|
| 146 |
# Header with logo and title
|
| 147 |
col_logo, col_title = st.columns([32, 68])
|
| 148 |
with col_logo:
|
|
@@ -160,31 +163,40 @@ with col1:
|
|
| 160 |
st.markdown("""
|
| 161 |
<a href="/Semantic_Search" target="_self" style="text-decoration: none;">
|
| 162 |
<div class="card">
|
| 163 |
-
<div class="card-header">π</div>
|
| 164 |
-
<div class="card-text">AI Search</div>
|
|
|
|
|
|
|
| 165 |
</div>
|
| 166 |
</a>
|
| 167 |
""", unsafe_allow_html=True)
|
| 168 |
|
| 169 |
|
| 170 |
-
|
| 171 |
-
|
| 172 |
with col2:
|
| 173 |
st.markdown("""
|
| 174 |
<a href="/Multimodal_Conversational_Search" target="_self" style="text-decoration: none;">
|
| 175 |
<div class="card">
|
| 176 |
-
<div class="card-header">π¬</div>
|
| 177 |
-
<div class="card-text">Multimodal RAG</div>
|
|
|
|
|
|
|
| 178 |
</div>
|
| 179 |
</a>
|
| 180 |
""", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 181 |
|
| 182 |
with col3:
|
| 183 |
st.markdown("""
|
| 184 |
<a href="/AI_Shopping_Assistant" target="_self" style="text-decoration: none;">
|
| 185 |
<div class="card">
|
| 186 |
-
<div class="card-header"
|
| 187 |
-
<div class="card-text">Agentic
|
|
|
|
|
|
|
| 188 |
</div>
|
| 189 |
</a>
|
| 190 |
""", unsafe_allow_html=True)
|
|
@@ -203,3 +215,14 @@ st.markdown("""
|
|
| 203 |
</style>
|
| 204 |
""", unsafe_allow_html=True)
|
| 205 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
font-size: 25px;
|
| 83 |
color: #AAA;
|
| 84 |
text-transform: uppercase;
|
| 85 |
+
|
| 86 |
padding-bottom: 8px;
|
| 87 |
margin-bottom: 12px;
|
| 88 |
display: flex;
|
|
|
|
| 92 |
}
|
| 93 |
|
| 94 |
.card-text {
|
| 95 |
+
font-size: 25px;
|
| 96 |
font-weight: 500;
|
| 97 |
flex-grow: 1;
|
| 98 |
display: flex;
|
|
|
|
| 106 |
opacity: 1;
|
| 107 |
color: #e46e08;
|
| 108 |
font-size: 28px;
|
| 109 |
+
font-weight: bold;
|
| 110 |
transform: scale(1.2); /* Optional: adds smooth grow effect */
|
| 111 |
transition: all 0.3s ease-in-out;
|
| 112 |
}
|
|
|
|
| 144 |
|
| 145 |
|
| 146 |
|
| 147 |
+
|
| 148 |
+
|
| 149 |
# Header with logo and title
|
| 150 |
col_logo, col_title = st.columns([32, 68])
|
| 151 |
with col_logo:
|
|
|
|
| 163 |
st.markdown("""
|
| 164 |
<a href="/Semantic_Search" target="_self" style="text-decoration: none;">
|
| 165 |
<div class="card">
|
| 166 |
+
<div class="card-header" style="font-size: 45px; margin-bottom: 10px;">π</div>
|
| 167 |
+
<div class="card-text" style="font-size: 25px; color: #e46e08; ">AI Search</div>
|
| 168 |
+
<div class="card-description" style="font-size: 14px; color: #ccc; margin-top: 6px;text-align: center;white-space: normal;">
|
| 169 |
+
Explore ML search types, Re-ranking, Query rewriting and more on a retail dataset </div>
|
| 170 |
</div>
|
| 171 |
</a>
|
| 172 |
""", unsafe_allow_html=True)
|
| 173 |
|
| 174 |
|
|
|
|
|
|
|
| 175 |
with col2:
|
| 176 |
st.markdown("""
|
| 177 |
<a href="/Multimodal_Conversational_Search" target="_self" style="text-decoration: none;">
|
| 178 |
<div class="card">
|
| 179 |
+
<div class="card-header" style="font-size: 45px; margin-bottom: 10px;">π¬</div>
|
| 180 |
+
<div class="card-text" style="font-size: 25px; color: #e46e08; ">Multimodal RAG</div>
|
| 181 |
+
<div class="card-description" style="font-size: 14px; color: #ccc; margin-top: 6px;text-align: center;white-space: normal;">
|
| 182 |
+
Explore Multimodal Conversational Search over complex PDFs (with tables, graphs etc) </div>
|
| 183 |
</div>
|
| 184 |
</a>
|
| 185 |
""", unsafe_allow_html=True)
|
| 186 |
+
st.markdown("""
|
| 187 |
+
</div>
|
| 188 |
+
""", unsafe_allow_html=True)
|
| 189 |
+
|
| 190 |
+
|
| 191 |
|
| 192 |
with col3:
|
| 193 |
st.markdown("""
|
| 194 |
<a href="/AI_Shopping_Assistant" target="_self" style="text-decoration: none;">
|
| 195 |
<div class="card">
|
| 196 |
+
<div class="card-header" style="font-size: 45px; margin-bottom: 10px;">π§ π¬</div>
|
| 197 |
+
<div class="card-text" style="font-size: 25px; color: #e46e08;">Agentic RAG</div>
|
| 198 |
+
<div class="card-description" style="font-size: 14px; color: #ccc; margin-top: 6px;text-align: center;white-space: normal;">
|
| 199 |
+
Explore how an AI agent in front of RAG enhances product search experience </div>
|
| 200 |
</div>
|
| 201 |
</a>
|
| 202 |
""", unsafe_allow_html=True)
|
|
|
|
| 215 |
</style>
|
| 216 |
""", unsafe_allow_html=True)
|
| 217 |
|
| 218 |
+
st.markdown("""
|
| 219 |
+
<style>
|
| 220 |
+
#home-page html, #home-page body, #home-page .main {
|
| 221 |
+
background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 30%, #102132 100%);
|
| 222 |
+
height: 100vh;
|
| 223 |
+
overflow: hidden;
|
| 224 |
+
color: white;
|
| 225 |
+
}
|
| 226 |
+
</style>
|
| 227 |
+
""", unsafe_allow_html=True)
|
| 228 |
+
|