Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,7 +76,8 @@ if (should_train_model=='1'): #train model
|
|
| 76 |
file_path_test = test_file + ".csv"
|
| 77 |
|
| 78 |
# Read the CSV files into pandas DataFrames they will later by converted to DataTables and used to train and evaluate the model
|
| 79 |
-
|
|
|
|
| 80 |
file_test_df = pd.read_csv(file_path_test)
|
| 81 |
|
| 82 |
|
|
|
|
| 76 |
file_path_test = test_file + ".csv"
|
| 77 |
|
| 78 |
# Read the CSV files into pandas DataFrames they will later by converted to DataTables and used to train and evaluate the model
|
| 79 |
+
|
| 80 |
+
file_train_df = fetch_and_update_training_data(file_path_train)
|
| 81 |
file_test_df = pd.read_csv(file_path_test)
|
| 82 |
|
| 83 |
|