danielle2003 commited on
Commit
01a7a0f
·
verified ·
1 Parent(s): 167a6b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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 = "new.jpg"
1265
 
1266
  st.container()
1267
  st.markdown(
@@ -1270,8 +1270,8 @@ if st.session_state.page == "Home":
1270
  <div class="titles">
1271
  <h1>Brain Tummor Classfication</br> Using Transfer learning</h1>
1272
  <div> This web application utilizes transfer learning to classify kidney ultrasound images</br>
1273
- into four categories: HEALTH and TUMOR Class.
1274
- Built with Streamlit and powered by </br>a TensorFlow transfer learning
1275
  model based on <strong>VGG16</strong>
1276
  the app provides </br>a simple and efficient way for users
1277
  to upload brain scans and receive instant predictions.</br> The model analyzes the image
@@ -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 = "new.jpg"
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 = "giff.gif"
1265
 
1266
  st.container()
1267
  st.markdown(
 
1270
  <div class="titles">
1271
  <h1>Brain Tummor Classfication</br> Using Transfer learning</h1>
1272
  <div> This web application utilizes transfer learning to classify kidney ultrasound images</br>
1273
+ into two categories: HEALTH and TUMOR Class.
1274
+ Built with Streamlit and powered by </br>a Pytorch transfer learning
1275
  model based on <strong>VGG16</strong>
1276
  the app provides </br>a simple and efficient way for users
1277
  to upload brain scans and receive instant predictions.</br> The model analyzes the image
 
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