Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
@@ -261,11 +261,11 @@ print("Starting interface")
|
|
261 |
demo = gr.Interface(
|
262 |
fn=predict,
|
263 |
inputs=gr.File(label="input T2 image (3d)", file_count="single", file_types=[".mha", ".nii.gz", ".nii"]),
|
264 |
-
outputs=
|
265 |
gr.File(label="softmax-prostate-peripheral-zone-segmentation/prostate_gland_sm_pz"),
|
266 |
gr.File(label="softmax-prostate-central-gland-segmentation/prostate_gland_sm_tz"),
|
267 |
gr.File(label="prostate-zonal-segmentation/prostate_gland"),
|
268 |
-
|
269 |
cache_examples=False,
|
270 |
# outputs=gr.Label(num_top_classes=3),
|
271 |
)
|
|
|
261 |
demo = gr.Interface(
|
262 |
fn=predict,
|
263 |
inputs=gr.File(label="input T2 image (3d)", file_count="single", file_types=[".mha", ".nii.gz", ".nii"]),
|
264 |
+
outputs=[
|
265 |
gr.File(label="softmax-prostate-peripheral-zone-segmentation/prostate_gland_sm_pz"),
|
266 |
gr.File(label="softmax-prostate-central-gland-segmentation/prostate_gland_sm_tz"),
|
267 |
gr.File(label="prostate-zonal-segmentation/prostate_gland"),
|
268 |
+
],
|
269 |
cache_examples=False,
|
270 |
# outputs=gr.Label(num_top_classes=3),
|
271 |
)
|