ClassCat commited on
Commit
01d9d37
·
1 Parent(s): 8edbb11

update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
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/cat.jpg'], label='Sample images : cat', inputs=input_image)
63
- gr.Examples(['./samples/cheetah.jpg'], label='cheetah', inputs=input_image)
64
- gr.Examples(['./samples/hotdog.jpg'], label='hotdog', inputs=input_image)
65
- gr.Examples(['./samples/lion.jpg'], label='lion', inputs=input_image)
66
- #gr.Examples(example_files, inputs=input_image)
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)