FrancescoLR commited on
Commit
aef731a
·
verified ·
1 Parent(s): 420b558

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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.HTML(label="Brain Age Difference") # Use gr.HTML for colored text
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