ronnief1 commited on
Commit
ea65740
·
1 Parent(s): a7013f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -232,7 +232,8 @@ def model_infer(img_name):
232
  PAGE_TITLE = "Polyp Segmentation"
233
  SUBHEADER = "Polyps are growths in the colon which can be precursors to colon cancer and are thus of particular interest \
234
  when performing colonoscopies. Improving automatic detection of polyps will help doctors analyze thousands of frames from colonoscopy videos \
235
- and lead to more reliable and efficient prevention of colon cancer."
 
236
 
237
  def file_selector(folder_path='.'):
238
  filenames = os.listdir(folder_path)
@@ -261,6 +262,7 @@ def file_upload(folder_path='.'):
261
  def main():
262
  st.set_page_config(page_title=PAGE_TITLE, layout="wide")
263
  st.title(PAGE_TITLE)
 
264
  image_path = file_selector_ui()
265
  # image_path = file_upload()
266
  image_path = os.path.abspath(image_path)
 
232
  PAGE_TITLE = "Polyp Segmentation"
233
  SUBHEADER = "Polyps are growths in the colon which can be precursors to colon cancer and are thus of particular interest \
234
  when performing colonoscopies. Improving automatic detection of polyps will help doctors analyze thousands of frames from colonoscopy videos \
235
+ and lead to more reliable and efficient prevention of colon cancer. This web app uses a CNN trained on colonoscopy images from the Kvasir dataset to \
236
+ segment colonoscopy images."
237
 
238
  def file_selector(folder_path='.'):
239
  filenames = os.listdir(folder_path)
 
262
  def main():
263
  st.set_page_config(page_title=PAGE_TITLE, layout="wide")
264
  st.title(PAGE_TITLE)
265
+ st.subheader(SUBHEADER)
266
  image_path = file_selector_ui()
267
  # image_path = file_upload()
268
  image_path = os.path.abspath(image_path)