ClassCat commited on
Commit
db75068
β€’
1 Parent(s): c8542bb

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -137,8 +137,6 @@ with gr.Blocks(title="Brain tumor 3D segmentation with MONAIMNIST - ClassCat",
137
  input_image2 = gr.Image(label="image channel 2", type="pil", shape=(240, 240))
138
  input_image3 = gr.Image(label="image channel 3", type="pil", shape=(240, 240))
139
 
140
- #input_image = gr.Image(label="画像ε…₯εŠ›", type="pil", image_mode="RGB", shape=(240, 240))
141
-
142
  with gr.Row():
143
  label_image0 = gr.Image(label="label channel 0", type="pil")
144
  label_image1 = gr.Image(label="label channel 1", type="pil")
@@ -179,7 +177,8 @@ with gr.Blocks(title="Brain tumor 3D segmentation with MONAIMNIST - ClassCat",
179
  outputs=[sample_index, input_image0, input_image1, input_image2, input_image3,
180
  label_image0, label_image1, label_image2])
181
 
182
- gr.HTML("""<p><h4>2. Then, click "Infer" button to predict segmentation images. It will take about 30 seconds (on cpu)</h4>""")
 
183
 
184
  with gr.Row():
185
  output_image0 = gr.Image(label="output channel 0", type="pil")
 
137
  input_image2 = gr.Image(label="image channel 2", type="pil", shape=(240, 240))
138
  input_image3 = gr.Image(label="image channel 3", type="pil", shape=(240, 240))
139
 
 
 
140
  with gr.Row():
141
  label_image0 = gr.Image(label="label channel 0", type="pil")
142
  label_image1 = gr.Image(label="label channel 1", type="pil")
 
177
  outputs=[sample_index, input_image0, input_image1, input_image2, input_image3,
178
  label_image0, label_image1, label_image2])
179
 
180
+ gr.HTML("""<br/>""")
181
+ gr.HTML("""<h4 style="color:navy;">2. Then, click "Infer" button to predict segmentation images. It will take about 30 seconds (on cpu)</h4>""")
182
 
183
  with gr.Row():
184
  output_image0 = gr.Image(label="output channel 0", type="pil")