MedicalAILabo commited on
Commit
76261ed
·
1 Parent(s): b9d9d5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -57,6 +57,10 @@ def main(image):
57
 
58
  html_content = """
59
  <div style="padding: 15px; border: 1px solid #e0e0e0; border-radius: 5px;">
 
 
 
 
60
  <h3>Publication Details</h3>
61
  <p>See details in our publication, titled
62
  "Chest radiography as a biomarker of ageing: artificial intelligence-based,
@@ -71,7 +75,7 @@ html_content = """
71
  with gr.Blocks(title="Aging Biomarker from CXR",
72
  css=".gradio-container {background:mintcream;}"
73
  ) as demo:
74
- gr.HTML("""<div style="text-align:center">Aging Biomarker from CXR</div><div style="text-align:center">Only grayscale 320×320 resolution works appropriately</div>""")
75
  gr.HTML(html_content)
76
 
77
  with gr.Row():
 
57
 
58
  html_content = """
59
  <div style="padding: 15px; border: 1px solid #e0e0e0; border-radius: 5px;">
60
+ <h3>Image preprocess</h3>
61
+ <p>The longest side of the Xp was downscaled to 320 pixels while maintaining the aspect ratio,
62
+ and the width along the shorter side was then padded black to 320 pixels.
63
+ </p>
64
  <h3>Publication Details</h3>
65
  <p>See details in our publication, titled
66
  "Chest radiography as a biomarker of ageing: artificial intelligence-based,
 
75
  with gr.Blocks(title="Aging Biomarker from CXR",
76
  css=".gradio-container {background:mintcream;}"
77
  ) as demo:
78
+ gr.HTML("""<div style="text-align:center">Aging Biomarker from CXR</div>""")
79
  gr.HTML(html_content)
80
 
81
  with gr.Row():