Reyad-Ahmmed commited on
Commit
5341f4b
·
verified ·
1 Parent(s): 28f2320

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -69,11 +69,22 @@ if (should_train_model=='1'): #train model
69
  bias_non_fleet = 1.0
70
  epochs_to_run = .01
71
 
 
 
 
 
 
 
 
72
  file_path_train = train_file + ".csv"
73
  file_path_test = test_file + ".csv"
74
 
 
 
 
75
  # Read the CSV files into pandas DataFrames they will later by converted to DataTables and used to train and evaluate the model
76
- file_train_df = pd.read_csv(file_path_train)
 
77
  file_test_df = pd.read_csv(file_path_test)
78
 
79
 
 
69
  bias_non_fleet = 1.0
70
  epochs_to_run = .01
71
 
72
+ #file_path_train = train_file + ".csv"
73
+ #file_path_test = test_file + ".csv"
74
+
75
+ # Read the CSV files into pandas DataFrames they will later by converted to DataTables and used to train and evaluate the model
76
+ #file_train_df = pd.read_csv(file_path_train)
77
+ #file_test_df = pd.read_csv(file_path_test)
78
+
79
  file_path_train = train_file + ".csv"
80
  file_path_test = test_file + ".csv"
81
 
82
+
83
+ file_train_df = fetch_and_update_training_data(file_path_train)
84
+
85
  # Read the CSV files into pandas DataFrames they will later by converted to DataTables and used to train and evaluate the model
86
+ #file_train_df = pd.read_csv(file_path_train)
87
+ file_train_df = fetch_and_update_training_data(file_path_train)
88
  file_test_df = pd.read_csv(file_path_test)
89
 
90