Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ with gr.Blocks() as demo:
|
|
143 |
with gr.Row():
|
144 |
with gr.Column(scale=1):
|
145 |
#mri_input = gr.File(label="Upload a T1w MRI (NIfTI .nii.gz)")
|
146 |
-
|
147 |
|
148 |
age_input = gr.Number(label="Enter Age", value=50)
|
149 |
sex_input = gr.Radio(["Male", "Female"], label="Select Sex")
|
@@ -157,7 +157,7 @@ with gr.Blocks() as demo:
|
|
157 |
|
158 |
submit_button.click(
|
159 |
fn=predict_brain_age,
|
160 |
-
inputs=[
|
161 |
outputs=[brain_age_output, bad_output]
|
162 |
)
|
163 |
|
|
|
143 |
with gr.Row():
|
144 |
with gr.Column(scale=1):
|
145 |
#mri_input = gr.File(label="Upload a T1w MRI (NIfTI .nii.gz)")
|
146 |
+
flair_input = gr.File(label="Upload a FLAIR Image (.nii.gz)")
|
147 |
|
148 |
age_input = gr.Number(label="Enter Age", value=50)
|
149 |
sex_input = gr.Radio(["Male", "Female"], label="Select Sex")
|
|
|
157 |
|
158 |
submit_button.click(
|
159 |
fn=predict_brain_age,
|
160 |
+
inputs=[flair_input, age_input, sex_input],
|
161 |
outputs=[brain_age_output, bad_output]
|
162 |
)
|
163 |
|