Spaces:
Sleeping
Sleeping
Commit
·
3617ceb
1
Parent(s):
9ef0698
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ knn = load('best_knn_model.joblib')
|
|
12 |
class_names = ["Low Therapeutic Dose of Warfarin Required", "High Therapeutic Dose of Warfarin Required"]
|
13 |
|
14 |
# Load training data for expected feature names
|
15 |
-
training_data = pd.read_csv('
|
16 |
|
17 |
# Drop the 'Unnamed: 0' column if it exists
|
18 |
if 'Unnamed: 0' in training_data.columns:
|
|
|
12 |
class_names = ["Low Therapeutic Dose of Warfarin Required", "High Therapeutic Dose of Warfarin Required"]
|
13 |
|
14 |
# Load training data for expected feature names
|
15 |
+
training_data = pd.read_csv('dataset_train.csv')
|
16 |
|
17 |
# Drop the 'Unnamed: 0' column if it exists
|
18 |
if 'Unnamed: 0' in training_data.columns:
|