Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = "
|
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 = "
|
589 |
-
with open(
|
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 |
|