prasadnu commited on
Commit
5395f8e
·
1 Parent(s): 1bfd8c6
Files changed (1) hide show
  1. app.py +0 -42
app.py CHANGED
@@ -13,21 +13,6 @@ st.set_page_config(
13
  page_icon="/home/ubuntu/images/opensearch_mark_default.png"
14
  )
15
 
16
- import streamlit as st
17
- from PIL import Image
18
- import base64
19
- import yaml
20
- import os
21
- import urllib.request
22
- import tarfile
23
- from yaml.loader import SafeLoader
24
-
25
- # Page setup
26
- st.set_page_config(
27
- layout="wide",
28
- page_icon="/home/ubuntu/images/opensearch_mark_default.png"
29
-
30
- )
31
  st.markdown("""
32
  <style>
33
  /* Import Amazon Ember font */
@@ -98,33 +83,6 @@ st.markdown("""
98
 
99
 
100
 
101
- # Header with logo and title
102
- extra, col_logo, col_title = st.columns([3,40, 58])
103
- with col_logo:
104
- st.image("/home/ubuntu/AI-search-with-amazon-opensearch-service/OpenSearchApp/images/OS_AI_1_cropped.png", use_column_width=True)
105
-
106
- #st.image("/home/ubuntu/images/OS_AI_1.png", use_column_width=True)
107
- # with col_title:
108
- # st.write("")
109
- # st.markdown('<div class="title">OpenSearch AI demos</div>', unsafe_allow_html=True)
110
-
111
- def demo_link_block(icon, title, target_page):
112
- st.markdown(f"""
113
- <a href="/{target_page}" target="_self" style="text-decoration: none;">
114
- <div class="demo-card">
115
- <div class="demo-text">{icon} {title}</div>
116
- </div>
117
- </a>
118
- """, unsafe_allow_html=True)
119
-
120
- st.write("")
121
- demo_link_block("🔍", "AI Search", "Semantic_Search")
122
- demo_link_block("💬","Multimodal Conversational Search", "Multimodal_Conversational_Search")
123
- demo_link_block("🛍️","Agentic Shopping Assistant", "AI_Shopping_Assistant")
124
-
125
-
126
-
127
-
128
  # Header with logo and title
129
  extra, col_logo, col_title = st.columns([3,34, 63])
130
  with col_logo:
 
13
  page_icon="/home/ubuntu/images/opensearch_mark_default.png"
14
  )
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  st.markdown("""
17
  <style>
18
  /* Import Amazon Ember font */
 
83
 
84
 
85
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
  # Header with logo and title
87
  extra, col_logo, col_title = st.columns([3,34, 63])
88
  with col_logo: