Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ PARAMETER_JSON = "./parameters.json"
|
|
| 23 |
# 2) 銈儵銈广儵銉欍儷瀹氱京
|
| 24 |
# ===========================================
|
| 25 |
LABEL_APorPA = ["AP", "PA", "Lateral"]
|
| 26 |
-
LABEL_ROUND = ["Upright", "Inverted", "Left
|
| 27 |
|
| 28 |
# ===========================================
|
| 29 |
# 3) 鍓嶅嚘鐞嗐偗銉┿偣
|
|
@@ -150,8 +150,8 @@ with gr.Blocks(title="CXR Projection & Rotation") as demo:
|
|
| 150 |
examples=[
|
| 151 |
"./sample/1_AP_Upright.png",
|
| 152 |
"./sample/1_PA_Inverted.png",
|
| 153 |
-
"./sample/
|
| 154 |
-
"./sample/
|
| 155 |
],
|
| 156 |
inputs=input_image
|
| 157 |
)
|
|
|
|
| 23 |
# 2) 銈儵銈广儵銉欍儷瀹氱京
|
| 24 |
# ===========================================
|
| 25 |
LABEL_APorPA = ["AP", "PA", "Lateral"]
|
| 26 |
+
LABEL_ROUND = ["Upright", "Inverted", "Left-rotation", "Right-rotation"]
|
| 27 |
|
| 28 |
# ===========================================
|
| 29 |
# 3) 鍓嶅嚘鐞嗐偗銉┿偣
|
|
|
|
| 150 |
examples=[
|
| 151 |
"./sample/1_AP_Upright.png",
|
| 152 |
"./sample/1_PA_Inverted.png",
|
| 153 |
+
"./sample/2_AP_Right-rotation.png",
|
| 154 |
+
"./sample/2_Lateral_Left-rotation.png",
|
| 155 |
],
|
| 156 |
inputs=input_image
|
| 157 |
)
|