danielle2003 commited on
Commit
edaaea9
·
verified ·
1 Parent(s): fff4649

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -495,7 +495,7 @@ if page == "Home":
495
 
496
  #components.html(html_string) # JavaScript works
497
  #st.markdown(html_string, unsafe_allow_html=True)
498
- image_path = "load.png"
499
 
500
  st.container()
501
  st.markdown(f"""
@@ -585,8 +585,8 @@ if page == "Home":
585
  # Render the content
586
  st.markdown(content, unsafe_allow_html=True)
587
  else:
588
- default_image_path = "load.png"
589
- with open(default_image_path, "rb") as image_file:
590
  encoded_image = base64.b64encode(image_file.read()).decode()
591
 
592
 
 
495
 
496
  #components.html(html_string) # JavaScript works
497
  #st.markdown(html_string, unsafe_allow_html=True)
498
+ image_path = "image.jpg"
499
 
500
  st.container()
501
  st.markdown(f"""
 
585
  # Render the content
586
  st.markdown(content, unsafe_allow_html=True)
587
  else:
588
+ default_image_path = "image.jpg"
589
+ with open(image_path, "rb") as image_file:
590
  encoded_image = base64.b64encode(image_file.read()).decode()
591
 
592