jaynopponep commited on
Commit
cf73210
·
1 Parent(s): 2e23211

Fixing app.py data path

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import model
4
  app = Flask(__name__)
5
 
6
  # Load data and train the model globally
7
- df = model.load_data('path_to_AI_Human.csv') # Make sure this path is correct
8
  X_train, X_test, y_train, y_test = model.split_data(df)
9
  pipeline = model.create_pipeline(X_train, y_train)
10
 
 
4
  app = Flask(__name__)
5
 
6
  # Load data and train the model globally
7
+ df = model.load_data('AI_Human.csv') # Make sure this path is correct
8
  X_train, X_test, y_train, y_test = model.split_data(df)
9
  pipeline = model.create_pipeline(X_train, y_train)
10