FrancescoLR commited on
Commit
801b9d9
·
verified ·
1 Parent(s): 5719d55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def preprocess_mri(nifti_path):
85
 
86
  # Run Brain Age Prediction (Decorated for GPU Execution)
87
  @spaces.GPU(duration=90)
88
- def predict_brain_age(nifti_file, actual_age): #sex
89
  if not os.path.exists(nifti_file.name):
90
  return "Error: MRI file not found"
91
 
 
85
 
86
  # Run Brain Age Prediction (Decorated for GPU Execution)
87
  @spaces.GPU(duration=90)
88
+ def predict_brain_age(nifti_file, actual_age, sex):
89
  if not os.path.exists(nifti_file.name):
90
  return "Error: MRI file not found"
91