fadzwan commited on
Commit
5dd8ac6
·
verified ·
1 Parent(s): 0d4e0c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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():