FrancescoLR commited on
Commit
72ec283
·
verified ·
1 Parent(s): fe423d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -273,7 +273,7 @@ def run_nnunet_predict(nifti_file,hd_bet=False):
273
  nib.save(nib.Nifti1Image(labeled_mask.astype(np.int16), img.affine), labeled_mask_path)
274
 
275
  # Return paths for the Gradio interface
276
- return new_output_file, input_slice_path, output_slice_path
277
  else:
278
  return "Error: Output file not found."
279
  except subprocess.CalledProcessError as e:
 
273
  nib.save(nib.Nifti1Image(labeled_mask.astype(np.int16), img.affine), labeled_mask_path)
274
 
275
  # Return paths for the Gradio interface
276
+ return new_output_file, input_slice_path, output_slice_path, labeled_mask_path
277
  else:
278
  return "Error: Output file not found."
279
  except subprocess.CalledProcessError as e: