FrancescoLR commited on
Commit
8848b53
·
verified ·
1 Parent(s): 1d331f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -122,6 +122,7 @@ def extract_middle_slices(nifti_path, output_image_path, slice_size=180, center=
122
  else:
123
  labeled_data = resampled_data
124
  num_features = None # Not needed if we're not labeling
 
125
 
126
  # Compute or reuse the center of mass
127
  if center is None:
 
122
  else:
123
  labeled_data = resampled_data
124
  num_features = None # Not needed if we're not labeling
125
+ labeled_data_resampled = resampled_data
126
 
127
  # Compute or reuse the center of mass
128
  if center is None: