cryogenic22 commited on
Commit
cc2b215
·
verified ·
1 Parent(s): 5f090f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -3
app.py CHANGED
@@ -68,6 +68,19 @@ def main():
68
  # Set up the page configuration
69
  st.set_page_config(layout="wide", page_title="SYNAPTYX - RFP Analysis Agent")
70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  # Initialize database silently
72
  if not initialize_database():
73
  st.error("Failed to initialize database. Please contact support.")
@@ -114,7 +127,7 @@ def main():
114
  # Main chat area
115
  if not st.session_state.chat_ready:
116
  # Welcome screen
117
- display_header()
118
  st.markdown("### Welcome to your AI-powered RFP analysis assistant!")
119
 
120
  col1, col2 = st.columns(2)
@@ -131,8 +144,7 @@ def main():
131
  for example in display_example_questions():
132
  st.markdown(f"• {example}")
133
  else:
134
- # Display header and chat interface
135
- display_header()
136
  display_chat_interface()
137
 
138
  if __name__ == "__main__":
 
68
  # Set up the page configuration
69
  st.set_page_config(layout="wide", page_title="SYNAPTYX - RFP Analysis Agent")
70
 
71
+ # Custom CSS for logo positioning
72
+ st.markdown("""
73
+ <style>
74
+ [data-testid="stSidebarNav"] {
75
+ background-image: url('img/logo.png');
76
+ background-repeat: no-repeat;
77
+ background-position: 20px 20px;
78
+ background-size: 150px auto;
79
+ padding-top: 120px;
80
+ }
81
+ </style>
82
+ """, unsafe_allow_html=True)
83
+
84
  # Initialize database silently
85
  if not initialize_database():
86
  st.error("Failed to initialize database. Please contact support.")
 
127
  # Main chat area
128
  if not st.session_state.chat_ready:
129
  # Welcome screen
130
+ st.title("🤖 SYNAPTYX - RFP Analysis Agent")
131
  st.markdown("### Welcome to your AI-powered RFP analysis assistant!")
132
 
133
  col1, col2 = st.columns(2)
 
144
  for example in display_example_questions():
145
  st.markdown(f"• {example}")
146
  else:
147
+ # Clean chat interface
 
148
  display_chat_interface()
149
 
150
  if __name__ == "__main__":