JSenkCC commited on
Commit
4e2550b
·
verified ·
1 Parent(s): 6c7a8f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -117,7 +117,7 @@ def login_page():
117
 
118
  def project_staging_page():
119
  # Sidebar with logout button
120
- st.sidebar.image("SimplifAI Logo Square.jpeg", use_container_width=Fale, width=100)
121
  st.sidebar.title(f"Hello, {st.session_state.username}!")
122
  if st.sidebar.button("Log Out"):
123
  st.session_state.authenticated = False
@@ -422,7 +422,7 @@ def process_gemini_output(output):
422
 
423
  def generate_documentation_page():
424
  # Sidebar with "Log Out" and "Back to Project" buttons
425
- st.sidebar.image("SimplifAI Logo Square.jpeg", use_container_width=Fale, width=100)
426
  st.sidebar.title(f"Project: {st.session_state.current_project}")
427
  if st.sidebar.button("Back to Project"):
428
  st.session_state.page = "project_view"
@@ -591,6 +591,7 @@ def generate_markdown_file(documentation, output_path):
591
  #------------------------------------------------------------------------------------------------------------------------------------------------------------------------
592
  def saved_documentation_page():
593
  # Sidebar with "Back to Project" and "Log Out" buttons
 
594
  st.sidebar.title(f"Project: {st.session_state.current_project}")
595
  if st.sidebar.button("Back to Project"):
596
  st.session_state.page = "project_view"
@@ -639,7 +640,7 @@ def saved_documentation_page():
639
 
640
  def project_view_page():
641
  # Sidebar with logout and return buttons
642
- st.sidebar.image("SimplifAI Logo Square.jpeg", use_container_width=Fale, width=100)
643
  st.sidebar.title(f"Project: {st.session_state.current_project}")
644
  if st.sidebar.button("Back to Project Staging"): # Updated button label
645
  st.session_state.page = "project_staging" # Updated routing
 
117
 
118
  def project_staging_page():
119
  # Sidebar with logout button
120
+ st.sidebar.image("SimplifAI Logo Square.jpeg", use_container_width=False, width=100)
121
  st.sidebar.title(f"Hello, {st.session_state.username}!")
122
  if st.sidebar.button("Log Out"):
123
  st.session_state.authenticated = False
 
422
 
423
  def generate_documentation_page():
424
  # Sidebar with "Log Out" and "Back to Project" buttons
425
+ st.sidebar.image("SimplifAI Logo Square.jpeg", use_container_width=False, width=100)
426
  st.sidebar.title(f"Project: {st.session_state.current_project}")
427
  if st.sidebar.button("Back to Project"):
428
  st.session_state.page = "project_view"
 
591
  #------------------------------------------------------------------------------------------------------------------------------------------------------------------------
592
  def saved_documentation_page():
593
  # Sidebar with "Back to Project" and "Log Out" buttons
594
+ st.sidebar.image("SimplifAI Logo Square", use_container_width=False, width=100)
595
  st.sidebar.title(f"Project: {st.session_state.current_project}")
596
  if st.sidebar.button("Back to Project"):
597
  st.session_state.page = "project_view"
 
640
 
641
  def project_view_page():
642
  # Sidebar with logout and return buttons
643
+ st.sidebar.image("SimplifAI Logo Square", use_container_width=False, width=100)
644
  st.sidebar.title(f"Project: {st.session_state.current_project}")
645
  if st.sidebar.button("Back to Project Staging"): # Updated button label
646
  st.session_state.page = "project_staging" # Updated routing