Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def predict_cancer(age, gender, response, tumor_size, lymph_node_spread, focalit
|
|
56 |
including 'TumorSize', 'LymphNodeSpread', and 'Focality' as additional features.
|
57 |
"""
|
58 |
# 1. Load your pre-fitted scaler from disk
|
59 |
-
scaler_file = "model/pjas-thyroid-
|
60 |
if not os.path.exists(scaler_file):
|
61 |
return "Error: Scaler file not found. Please check your path or name."
|
62 |
|
|
|
56 |
including 'TumorSize', 'LymphNodeSpread', and 'Focality' as additional features.
|
57 |
"""
|
58 |
# 1. Load your pre-fitted scaler from disk
|
59 |
+
scaler_file = "model/pjas-thyroid-Scaler.pkl"
|
60 |
if not os.path.exists(scaler_file):
|
61 |
return "Error: Scaler file not found. Please check your path or name."
|
62 |
|