Spaces:
Runtime error
Runtime error
update app.py
Browse files
app.py
CHANGED
|
@@ -188,18 +188,12 @@ with gr.Blocks(title="Brain tumor 3D segmentation with MONAIMNIST - ClassCat",
|
|
| 188 |
send_btn = gr.Button("Infer")
|
| 189 |
send_btn.click(fn=predict, inputs=[sample_index], outputs=[output_image0, output_image1, output_image2])
|
| 190 |
|
|
|
|
| 191 |
gr.HTML("""<h4 style="color:navy;">Reference</h4>""")
|
| 192 |
gr.HTML("""<ul>""")
|
| 193 |
gr.HTML("""<li><a href="https://github.com/Project-MONAI/tutorials/blob/main/3d_segmentation/brats_segmentation_3d.ipynb" target="_blank">Brain tumor 3D segmentation with MONAI</a></li>""")
|
| 194 |
gr.HTML("""</ul>""")
|
| 195 |
|
| 196 |
-
gr.HTML("""<div>)
|
| 197 |
-
<h4 style="color:navy;">Reference</h4>
|
| 198 |
-
<ul>
|
| 199 |
-
<li><a href="https://github.com/Project-MONAI/tutorials/blob/main/3d_segmentation/brats_segmentation_3d.ipynb" target="_blank">Brain tumor 3D segmentation with MONAI</a>
|
| 200 |
-
</ul>
|
| 201 |
-
</div>
|
| 202 |
-
""")
|
| 203 |
|
| 204 |
#demo.queue()
|
| 205 |
demo.launch(debug=True)
|
|
|
|
| 188 |
send_btn = gr.Button("Infer")
|
| 189 |
send_btn.click(fn=predict, inputs=[sample_index], outputs=[output_image0, output_image1, output_image2])
|
| 190 |
|
| 191 |
+
gr.HTML("""<br/>""")
|
| 192 |
gr.HTML("""<h4 style="color:navy;">Reference</h4>""")
|
| 193 |
gr.HTML("""<ul>""")
|
| 194 |
gr.HTML("""<li><a href="https://github.com/Project-MONAI/tutorials/blob/main/3d_segmentation/brats_segmentation_3d.ipynb" target="_blank">Brain tumor 3D segmentation with MONAI</a></li>""")
|
| 195 |
gr.HTML("""</ul>""")
|
| 196 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 197 |
|
| 198 |
#demo.queue()
|
| 199 |
demo.launch(debug=True)
|