Update app.py
Browse files
app.py
CHANGED
|
@@ -129,13 +129,13 @@ def classify_APorPA_and_round(image):
|
|
| 129 |
# ===========================================
|
| 130 |
html_content = """
|
| 131 |
<div style="padding: 15px; border: 1px solid #e0e0e0; border-radius: 5px;">
|
| 132 |
-
<h3>Chest
|
| 133 |
<p>The input image should be a 256×256 (grayscale) PNG file.</p>
|
| 134 |
<p>This model predict both the imaging projection (3 classes: AP, PA, Lateral) and rotation (4 classes: Upright, Inverted, Left rotation, Right rotation) for chest radiographs.</p>
|
| 135 |
</div>
|
| 136 |
"""
|
| 137 |
|
| 138 |
-
with gr.Blocks(title="Chest X-ray:
|
| 139 |
gr.HTML("<div style='text-align:center'><h2>Chest X-ray AP/PA & Rotation Classification</h2></div>")
|
| 140 |
gr.HTML(html_content)
|
| 141 |
|
|
|
|
| 129 |
# ===========================================
|
| 130 |
html_content = """
|
| 131 |
<div style="padding: 15px; border: 1px solid #e0e0e0; border-radius: 5px;">
|
| 132 |
+
<h3>Chest X-ray: Projection & Rotation Classification</h3>
|
| 133 |
<p>The input image should be a 256×256 (grayscale) PNG file.</p>
|
| 134 |
<p>This model predict both the imaging projection (3 classes: AP, PA, Lateral) and rotation (4 classes: Upright, Inverted, Left rotation, Right rotation) for chest radiographs.</p>
|
| 135 |
</div>
|
| 136 |
"""
|
| 137 |
|
| 138 |
+
with gr.Blocks(title="Chest X-ray: Projection & Rotation Classification") as demo:
|
| 139 |
gr.HTML("<div style='text-align:center'><h2>Chest X-ray AP/PA & Rotation Classification</h2></div>")
|
| 140 |
gr.HTML(html_content)
|
| 141 |
|