FrancescoLR commited on
Commit
d892c6e
·
verified ·
1 Parent(s): 69a0449

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -145,10 +145,10 @@ with gr.Blocks() as demo:
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)
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,
 
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)
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,