danielle2003 commited on
Commit
23fb33b
·
verified ·
1 Parent(s): fb3fc1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -314,6 +314,8 @@ main_bg_ext = "png"
314
  main_bg = "bg1.jpg"
315
  # Read and encode the logo image
316
 
 
 
317
  # Custom CSS to style the logo above the sidebar
318
  st.markdown(
319
  f"""
 
314
  main_bg = "bg1.jpg"
315
  # Read and encode the logo image
316
 
317
+ with open(logo_path, "rb") as image_file:
318
+ encoded_logo = base64.b64encode(image_file.read()).decode()
319
  # Custom CSS to style the logo above the sidebar
320
  st.markdown(
321
  f"""