Annikaijak commited on
Commit
ca586de
·
verified ·
1 Parent(s): 568f85c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ with tab1:
94
 
95
  # Making the predictions and getting the latest data
96
  building_mag_most_recent_prediction = building_mag_prediction_data[['x', 'y', 'z', 'temperature', 'et0_fao_evapotranspiration']]
97
- building_mag_most_recent_prediction_mag = building_mag_hist_model.predict(building_mag_most_recent_prediction)
98
  building_mag_prediction_data['Status'] = building_mag_most_recent_prediction
99
  building_mag_prediction_data['Status'].replace(['detection', 'no_detection'], ['Vehicle detected', 'No vehicle detected'], inplace=True)
100
  building_mag_prediction_data = building_mag_prediction_data.rename(columns={'time': 'Time'})
 
94
 
95
  # Making the predictions and getting the latest data
96
  building_mag_most_recent_prediction = building_mag_prediction_data[['x', 'y', 'z', 'temperature', 'et0_fao_evapotranspiration']]
97
+ building_mag_most_recent_prediction = building_mag_hist_model.predict(building_mag_most_recent_prediction)
98
  building_mag_prediction_data['Status'] = building_mag_most_recent_prediction
99
  building_mag_prediction_data['Status'].replace(['detection', 'no_detection'], ['Vehicle detected', 'No vehicle detected'], inplace=True)
100
  building_mag_prediction_data = building_mag_prediction_data.rename(columns={'time': 'Time'})