Spaces:
Build error
Build error
Minor formatting tweaks
Browse files
app.py
CHANGED
|
@@ -20,20 +20,20 @@ BUNDLE_PATH = os.path.join(torch.hub.get_dir(), 'bundle', BUNDLE_NAME)
|
|
| 20 |
# Title and description
|
| 21 |
title = '<h1 style="text-align: center;">Segment Brain Tumors with MONAI! ๐ง </h1>'
|
| 22 |
description = """
|
| 23 |
-
## To run
|
| 24 |
|
| 25 |
Upload a brain MRI image file, or try out one of the examples below!
|
| 26 |
-
If you want to see a different slice, update the slider
|
| 27 |
|
| 28 |
More details on the model can be found [here!](https://huggingface.co/katielink/brats_mri_segmentation_v0.1.0)
|
| 29 |
|
| 30 |
-
## Disclaimer
|
| 31 |
|
| 32 |
This is an example, not to be used for diagnostic purposes.
|
| 33 |
"""
|
| 34 |
|
| 35 |
references = """
|
| 36 |
-
## References
|
| 37 |
|
| 38 |
1. Myronenko, Andriy. "3D MRI brain tumor segmentation using autoencoder regularization." International MICCAI Brainlesion Workshop. Springer, Cham, 2018. https://arxiv.org/abs/1810.11654.
|
| 39 |
2. Menze BH, et al. "The Multimodal Brain Tumor Image Segmentation Benchmark (BRATS)", IEEE Transactions on Medical Imaging 34(10), 1993-2024 (2015) DOI: 10.1109/TMI.2014.2377694
|
|
@@ -42,7 +42,7 @@ references = """
|
|
| 42 |
|
| 43 |
examples = [
|
| 44 |
['examples/BRATS_485.nii.gz', 65],
|
| 45 |
-
['examples/BRATS_486.nii.gz',
|
| 46 |
]
|
| 47 |
|
| 48 |
# Load the MONAI pretrained model from Hugging Face Hub
|
|
|
|
| 20 |
# Title and description
|
| 21 |
title = '<h1 style="text-align: center;">Segment Brain Tumors with MONAI! ๐ง </h1>'
|
| 22 |
description = """
|
| 23 |
+
## ๐ To run
|
| 24 |
|
| 25 |
Upload a brain MRI image file, or try out one of the examples below!
|
| 26 |
+
If you want to see a different slice, update the slider.
|
| 27 |
|
| 28 |
More details on the model can be found [here!](https://huggingface.co/katielink/brats_mri_segmentation_v0.1.0)
|
| 29 |
|
| 30 |
+
## โ ๏ธ Disclaimer
|
| 31 |
|
| 32 |
This is an example, not to be used for diagnostic purposes.
|
| 33 |
"""
|
| 34 |
|
| 35 |
references = """
|
| 36 |
+
## ๐ References
|
| 37 |
|
| 38 |
1. Myronenko, Andriy. "3D MRI brain tumor segmentation using autoencoder regularization." International MICCAI Brainlesion Workshop. Springer, Cham, 2018. https://arxiv.org/abs/1810.11654.
|
| 39 |
2. Menze BH, et al. "The Multimodal Brain Tumor Image Segmentation Benchmark (BRATS)", IEEE Transactions on Medical Imaging 34(10), 1993-2024 (2015) DOI: 10.1109/TMI.2014.2377694
|
|
|
|
| 42 |
|
| 43 |
examples = [
|
| 44 |
['examples/BRATS_485.nii.gz', 65],
|
| 45 |
+
['examples/BRATS_486.nii.gz', 80]
|
| 46 |
]
|
| 47 |
|
| 48 |
# Load the MONAI pretrained model from Hugging Face Hub
|