Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -139,12 +139,12 @@ with gr.Blocks() as demo:
|
|
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 |
-
|
143 |
-
|
144 |
# mri_input = gr.File(label="Upload a T1w MRI (NIfTI .nii.gz)")
|
145 |
# age_input = gr.Number(label="Enter Age", value=50)
|
146 |
# sex_input = gr.Radio(["Male", "Female"], label="Select Sex")
|
147 |
-
|
148 |
#
|
149 |
# with gr.Column(scale=2):
|
150 |
# brain_age_output = gr.Textbox(label="Predicted Brain Age", interactive=False)
|
|
|
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):
|
144 |
# mri_input = gr.File(label="Upload a T1w MRI (NIfTI .nii.gz)")
|
145 |
# age_input = gr.Number(label="Enter Age", value=50)
|
146 |
# sex_input = gr.Radio(["Male", "Female"], label="Select Sex")
|
147 |
+
submit_button = gr.Button("Predict")
|
148 |
#
|
149 |
# with gr.Column(scale=2):
|
150 |
# brain_age_output = gr.Textbox(label="Predicted Brain Age", interactive=False)
|