Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,10 @@ import pandas as pd
|
|
9 |
|
10 |
def load_data():
|
11 |
# Load data from CSV files
|
12 |
-
X_train = pd.read_csv('slump_test.data.csv').values
|
13 |
y_train = pd.read_csv('slump_test.data.csv').values[:, -1]
|
|
|
|
|
14 |
return X_train, y_train
|
15 |
|
16 |
def load_model_artifacts():
|
|
|
9 |
|
10 |
def load_data():
|
11 |
# Load data from CSV files
|
12 |
+
X_train = pd.read_csv('slump_test.data.csv').values[:,:-1]
|
13 |
y_train = pd.read_csv('slump_test.data.csv').values[:, -1]
|
14 |
+
|
15 |
+
|
16 |
return X_train, y_train
|
17 |
|
18 |
def load_model_artifacts():
|