FrancescoLR commited on
Commit
2d911b6
·
verified ·
1 Parent(s): 3ac4249

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -254,9 +254,9 @@ with gr.Blocks() as demo:
254
  gr.Markdown("""
255
  # 🔥 FLAMeS: FLAIR Lesion Segmentation for Multiple Sclerosis
256
 
257
- Upload a skull-stripped FLAIR brain MRI in NIfTI (.nii.gz) format to generate a binary segmentation of multiple sclerosis lesions.
258
  FLAMeS is based on the nnUNet framework<sup>2</sup> and was trained on 668 MRI scans acquired using Siemens, GE, and Philips 1.5T and 3T scanners<sup>1</sup>.
259
- For skull-stripping, we suggest using [SynthStrip](https://surfer.nmr.mgh.harvard.edu/docs/synthstrip/) with the `--no-csf` flag for optimal results.
260
 
261
  Inference takes approximately 1 minute per MRI, with processing limited to one scan at a time due to Hugging Face's zero-GPU usage constraints. To process multiple cases simultaneously, download [FLAMeS's model](https://huggingface.co/FrancescoLR/FLAMeS-model) and run it locally using your own GPU or CPU setup.
262
 
 
254
  gr.Markdown("""
255
  # 🔥 FLAMeS: FLAIR Lesion Segmentation for Multiple Sclerosis
256
 
257
+ Upload a FLAIR brain MRI in NIfTI format (.nii.gz) to generate a binary segmentation of multiple sclerosis lesions.
258
  FLAMeS is based on the nnUNet framework<sup>2</sup> and was trained on 668 MRI scans acquired using Siemens, GE, and Philips 1.5T and 3T scanners<sup>1</sup>.
259
+ We suggest skull-stripping the image in advance using [SynthStrip](https://surfer.nmr.mgh.harvard.edu/docs/synthstrip/) with the `--no-csf` flag for optimal results. If that's not feasible, you can still upload your image as-is and enable the "Apply skull-stripping" option below.
260
 
261
  Inference takes approximately 1 minute per MRI, with processing limited to one scan at a time due to Hugging Face's zero-GPU usage constraints. To process multiple cases simultaneously, download [FLAMeS's model](https://huggingface.co/FrancescoLR/FLAMeS-model) and run it locally using your own GPU or CPU setup.
262