update app.py
Browse files
app.py
CHANGED
@@ -57,14 +57,12 @@ with gr.Blocks(title="Medical Image Classification with MONAI - ClassCat",
|
|
57 |
send_btn = gr.Button("Infer")
|
58 |
send_btn.click(fn=classify_image, inputs=input_image, outputs=output_label)
|
59 |
|
60 |
-
"""
|
61 |
with gr.Row():
|
62 |
-
gr.Examples(['./samples/
|
63 |
-
gr.Examples(['./samples/
|
64 |
-
gr.Examples(['./samples/
|
65 |
-
gr.Examples(['./samples/
|
66 |
-
|
67 |
-
"""
|
68 |
|
69 |
#demo.queue(concurrency_count=3)
|
70 |
demo.launch(debug=True)
|
|
|
57 |
send_btn = gr.Button("Infer")
|
58 |
send_btn.click(fn=classify_image, inputs=input_image, outputs=output_label)
|
59 |
|
|
|
60 |
with gr.Row():
|
61 |
+
gr.Examples(['./samples/mednist_AbdomenCT00.png'], label='Sample images : AbdomenCT', inputs=input_image)
|
62 |
+
gr.Examples(['./samples/mednist_CXR02.png'], label='CXR', inputs=input_image)
|
63 |
+
gr.Examples(['./samples/mednist_ChestCT08.png'], label='ChestCT', inputs=input_image)
|
64 |
+
gr.Examples(['./samples/mednist_Hand01.png'], label='Hand', inputs=input_image)
|
65 |
+
gr.Examples(['./samples/mednist_HeadCT07.png'], label='HeadCT', inputs=input_image)
|
|
|
66 |
|
67 |
#demo.queue(concurrency_count=3)
|
68 |
demo.launch(debug=True)
|