Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -147,9 +147,11 @@ with gr.Blocks() as demo:
|
|
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)
|
151 |
-
bad_output = gr.
|
152 |
-
|
153 |
submit_button.click(
|
154 |
fn=predict_brain_age,
|
155 |
inputs=[mri_input, age_input], #sex_input
|
|
|
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)
|
151 |
+
#bad_output = gr.HTML(label="Brain Age Difference") # Use gr.HTML for colored text
|
152 |
brain_age_output = gr.Textbox(label="Predicted Brain Age", interactive=False)
|
153 |
+
bad_output = gr.Textbox(label="Brain Age Difference", interactive=False)
|
154 |
+
|
155 |
submit_button.click(
|
156 |
fn=predict_brain_age,
|
157 |
inputs=[mri_input, age_input], #sex_input
|