Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -230,10 +230,9 @@ def model_infer(img_name):
|
|
| 230 |
|
| 231 |
return image_vis, gt_mask, pr_mask
|
| 232 |
PAGE_TITLE = "Polyp Segmentation"
|
| 233 |
-
SUBHEADER = "Polyps are growths in the colon which can be precursors to colon cancer and are
|
| 234 |
-
when performing colonoscopies. Improving automatic detection of polyps
|
| 235 |
-
and
|
| 236 |
-
segment colonoscopy images."
|
| 237 |
|
| 238 |
def file_selector(folder_path='.'):
|
| 239 |
filenames = os.listdir(folder_path)
|
|
|
|
| 230 |
|
| 231 |
return image_vis, gt_mask, pr_mask
|
| 232 |
PAGE_TITLE = "Polyp Segmentation"
|
| 233 |
+
SUBHEADER = "Polyps are growths in the colon which can be precursors to colon cancer and are of particular interest \
|
| 234 |
+
when performing colonoscopies. Improving automatic detection of polyps helps doctors analyze thousands of frames from colonoscopy videos \
|
| 235 |
+
and leads to more reliable and efficient prevention of colon cancer. This web app uses a CNN trained on colonoscopy images from the Kvasir dataset for segmentation."
|
|
|
|
| 236 |
|
| 237 |
def file_selector(folder_path='.'):
|
| 238 |
filenames = os.listdir(folder_path)
|