Update app.py
Browse files
app.py
CHANGED
@@ -31,12 +31,14 @@ dropdown_option_class_names = list(label_mapper.keys())
|
|
31 |
with gr.Blocks() as demo:
|
32 |
with gr.Tab("Anatomy Segmentation"):
|
33 |
with gr.Row():
|
34 |
-
gr.Markdown('This is a demo for Chest X-Ray Anatomy Segmentation with 159 classes. \n As it is running on CPU, it is not that fast. \n The demo only supports .jpg and .png files.
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
|
|
|
|
40 |
with gr.Row():
|
41 |
class_options = gr.Dropdown(dropdown_option_class_names, value = ['thoracic spine'], label="class_names", multiselect=True)
|
42 |
with gr.Row():
|
|
|
31 |
with gr.Blocks() as demo:
|
32 |
with gr.Tab("Anatomy Segmentation"):
|
33 |
with gr.Row():
|
34 |
+
gr.Markdown('This is a demo for Chest X-Ray Anatomy Segmentation with 159 classes. \n As it is running on CPU, it is not that fast. \n The demo only supports .jpg and .png files.')
|
35 |
+
with gr.Row():
|
36 |
+
gr.Markdown('Note: for lateral views, only patients facing to the right side of the image are supported.')
|
37 |
+
with gr.Row():
|
38 |
+
gr.Markdown('Not intended for clinical use!')
|
39 |
+
with gr.Row():
|
40 |
+
gr.Markdown('To use it locally and to segment other data types like dicom, check out \'pip install cxas\'.')
|
41 |
+
|
42 |
with gr.Row():
|
43 |
class_options = gr.Dropdown(dropdown_option_class_names, value = ['thoracic spine'], label="class_names", multiselect=True)
|
44 |
with gr.Row():
|