FrancescoLR commited on
Commit
ae67592
·
verified ·
1 Parent(s): 8c39a9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -143,7 +143,8 @@ with gr.Blocks() as demo:
143
 
144
  with gr.Column(scale=2):
145
  brain_age_output = gr.Textbox(label="Predicted Brain Age", interactive=False)
146
- bad_output = gr.HTML(label="Brain Age Difference") # Use gr.HTML for colored text
 
147
 
148
  submit_button.click(
149
  fn=predict_brain_age,
 
143
 
144
  with gr.Column(scale=2):
145
  brain_age_output = gr.Textbox(label="Predicted Brain Age", interactive=False)
146
+ #bad_output = gr.HTML(label="Brain Age Difference") # Use gr.HTML for colored text
147
+ bad_output = gr.HTML(value="", show_label=True, label="Brain Age Difference")
148
 
149
  submit_button.click(
150
  fn=predict_brain_age,