FJDorfner commited on
Commit
ae39e2f
·
verified ·
1 Parent(s): 574fc22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -22,8 +22,8 @@ description_markdown = """
22
  """
23
 
24
  description_html = """
25
- <div style="background-color: #0b0f1a; color: white; padding: 10px; border-radius: 5px; box-shadow: 0 0 10px rgba(11,15,26,1); display: inline-flex; flex-direction: column; justify-content: center; align-items: center; margin: auto;">
26
- <ul style="background-color: #1e2936; border-radius: 5px; color: white; padding: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.3); padding-left: 20px; text-align: left; list-style-position: inside;">
27
  <li>This tool combines a U-Net Segmentation Model with a ResNet-50 for Classification.</li>
28
  <li><strong>Usage:</strong> Just drag a pelvic x-ray into the box and hit run.</li>
29
  <li><strong>Process:</strong> The input image will be segmented and cropped to the SIJ before classification.</li>
@@ -113,7 +113,7 @@ def predict_image(input_image, input_file):
113
 
114
 
115
 
116
- with gr.Blocks(css=css, title="Anatomy Aware axSpA") as iface:
117
 
118
  gr.Markdown("# Anatomy-Aware Image Classification for radiographic axSpA")
119
  #gr.Markdown(description_markdown)
 
22
  """
23
 
24
  description_html = """
25
+ <div style="background-color: #0b0f1a; color: white !important; padding: 10px; border-radius: 5px; box-shadow: 0 0 10px rgba(11,15,26,1); display: inline-flex; flex-direction: column; justify-content: center; align-items: center; margin: auto;">
26
+ <ul style="background-color: #1e2936; border-radius: 5px; color: white !important; padding: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.3); padding-left: 20px; text-align: left; list-style-position: inside;">
27
  <li>This tool combines a U-Net Segmentation Model with a ResNet-50 for Classification.</li>
28
  <li><strong>Usage:</strong> Just drag a pelvic x-ray into the box and hit run.</li>
29
  <li><strong>Process:</strong> The input image will be segmented and cropped to the SIJ before classification.</li>
 
113
 
114
 
115
 
116
+ with gr.Blocks(title="Anatomy Aware axSpA") as iface:
117
 
118
  gr.Markdown("# Anatomy-Aware Image Classification for radiographic axSpA")
119
  #gr.Markdown(description_markdown)