Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,18 @@ description_markdown = """
|
|
21 |
- **Privacy:** Please ensure data privacy and don't upload any sensitive patient information to this tool.
|
22 |
"""
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
css = """
|
25 |
|
26 |
h1 {
|
@@ -102,7 +114,9 @@ def predict_image(input_image, input_file):
|
|
102 |
with gr.Blocks(title="Anatomy Aware axSpA") as iface:
|
103 |
|
104 |
gr.Markdown("# Anatomy-Aware Image Classification for radiographic axSpA")
|
105 |
-
gr.Markdown(description_markdown)
|
|
|
|
|
106 |
|
107 |
with gr.Row():
|
108 |
with gr.Column():
|
|
|
21 |
- **Privacy:** Please ensure data privacy and don't upload any sensitive patient information to this tool.
|
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>
|
30 |
+
<li><strong>Please Note:</strong> This tool is intended for research purposes only.</li>
|
31 |
+
<li><strong>Privacy:</strong> Please ensure data privacy and don't upload any sensitive patient information to this tool.</li>
|
32 |
+
</ul>
|
33 |
+
</div>
|
34 |
+
"""
|
35 |
+
|
36 |
css = """
|
37 |
|
38 |
h1 {
|
|
|
114 |
with gr.Blocks(title="Anatomy Aware axSpA") as iface:
|
115 |
|
116 |
gr.Markdown("# Anatomy-Aware Image Classification for radiographic axSpA")
|
117 |
+
#gr.Markdown(description_markdown)
|
118 |
+
gr.HTML(description_html)
|
119 |
+
|
120 |
|
121 |
with gr.Row():
|
122 |
with gr.Column():
|