danielle2003 commited on
Commit
6227a23
·
verified ·
1 Parent(s): 01a7a0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1261,7 +1261,7 @@ if st.session_state.page == "Home":
1261
  if st.session_state.show_desc:
1262
  # components.html(html_string) # JavaScript works
1263
  # st.markdown(html_string, unsafe_allow_html=True)
1264
- image_path = "giff.gif"
1265
 
1266
  st.container()
1267
  st.markdown(
@@ -1359,7 +1359,7 @@ if st.session_state.page == "Home":
1359
  placeholder.empty()
1360
  st.markdown(content, unsafe_allow_html=True)
1361
  else:
1362
- default_image_path = "giff.gif"
1363
  with open(image_path, "rb") as image_file:
1364
  encoded_image = base64.b64encode(image_file.read()).decode()
1365
 
 
1261
  if st.session_state.show_desc:
1262
  # components.html(html_string) # JavaScript works
1263
  # st.markdown(html_string, unsafe_allow_html=True)
1264
+ image_path = "new.jpg"
1265
 
1266
  st.container()
1267
  st.markdown(
 
1359
  placeholder.empty()
1360
  st.markdown(content, unsafe_allow_html=True)
1361
  else:
1362
+ default_image_path = "new.jpg"
1363
  with open(image_path, "rb") as image_file:
1364
  encoded_image = base64.b64encode(image_file.read()).decode()
1365