Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def preprocess_mri(nifti_path):
|
|
84 |
return next(iter(dataloader))["image"].to(device)
|
85 |
|
86 |
# 🔹 Run Brain Age Prediction (Decorated for GPU Execution)
|
87 |
-
|
88 |
def predict_brain_age(nifti_file, actual_age):
|
89 |
return f"Brain Age estimate: 42"
|
90 |
"""
|
|
|
84 |
return next(iter(dataloader))["image"].to(device)
|
85 |
|
86 |
# 🔹 Run Brain Age Prediction (Decorated for GPU Execution)
|
87 |
+
#@spaces.GPU(duration=90)
|
88 |
def predict_brain_age(nifti_file, actual_age):
|
89 |
return f"Brain Age estimate: 42"
|
90 |
"""
|