Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -125,19 +125,19 @@ def predict_brain_age(nifti_file, actual_age): #sex
|
|
125 |
|
126 |
# 🔹 Gradio Interface Setup
|
127 |
with gr.Blocks() as demo:
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
|
142 |
# with gr.Row():
|
143 |
# with gr.Column(scale=1):
|
|
|
125 |
|
126 |
# 🔹 Gradio Interface Setup
|
127 |
with gr.Blocks() as demo:
|
128 |
+
gr.Markdown("""
|
129 |
+
# 🧠 **BrainAgeNeXt**: Advancing Brain Age Modeling
|
130 |
+
Upload a preprocessed T1w MRI scan (.nii.gz), enter the age and sex of the subject, and get the brain age prediction.
|
131 |
+
|
132 |
+
The following preprocessing steps are required.
|
133 |
+
1. Skull-stripping using [SynthStrip](https://surfer.nmr.mgh.harvard.edu/docs/synthstrip/) with the `--no-csf` flag for optimal results.
|
134 |
+
2. N4 bias field correction using [ANTs](https://github.com/ANTsX/ANTs/wiki/N4BiasFieldCorrection).
|
135 |
+
3. Affine registration to the MNI 1mm isotropic template space.
|
136 |
+
|
137 |
+
**BrainAgeNeXt** has been trained and validated using over 11,000 T1w MRI acquired at 1.5, 3, and 7T. A 1mm isotropic resolution is preferred for the input image but not required. Our [manuscript](https://doi.org/10.1162/imag_a_00487) presents a detailed explanation of **BrainAgeNeXt** and its potential applications.
|
138 |
+
|
139 |
+
Note: this app allows to process only a single MRI at the time. Please visit our [GitHub repository](https://github.com/FrancescoLR/BrainAgeNeXt/tree/main) to install the code on your machine and run BrainAgeNeXt on large datasets )
|
140 |
+
""")
|
141 |
|
142 |
# with gr.Row():
|
143 |
# with gr.Column(scale=1):
|