import streamlit as st from PIL import Image import base64 import yaml import os import urllib.request import tarfile from yaml.loader import SafeLoader # Page setup st.set_page_config( layout="wide", page_icon="/home/ubuntu/images/opensearch_mark_default.png" ) st.markdown("""
""", unsafe_allow_html=True) st.markdown(""" """, unsafe_allow_html=True) # Header with logo and title col_logo, col_title = st.columns([32, 68]) with col_logo: st.image("/home/user/app/images/OS_AI_1_cropped.png", use_column_width=True) spacer_col = st.columns(1)[0] with spacer_col: st.markdown("
", unsafe_allow_html=True) #st.image("/home/ubuntu/images/OS_AI_1.png", use_column_width=True) # with col_title: # st.write("") # st.markdown('
OpenSearch AI demos
', unsafe_allow_html=True) # def demo_link_block(icon, title, target_page): # st.markdown(f""" # #
#
# {icon} {title} # #
#
#
# """, unsafe_allow_html=True) # st.write("") # demo_link_block("🔍", "AI Search", "Semantic_Search") # demo_link_block("💬","Multimodal Conversational Search", "Multimodal_Conversational_Search") # demo_link_block("🛍️","Agentic Shopping Assistant", "AI_Shopping_Assistant") col1, col2, col3 = st.columns(3) with col1: st.markdown("""
🔍
AI Search
""", unsafe_allow_html=True) with col2: st.markdown("""
💬
Multimodal RAG
""", unsafe_allow_html=True) with col3: st.markdown("""
🛍️
Agentic Shopping Assistant
""", unsafe_allow_html=True) st.markdown("""
""", unsafe_allow_html=True) st.markdown(""" """, unsafe_allow_html=True) #