osbm commited on
Commit
e933831
1 Parent(s): 47a27e4

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
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
  )