anoderb commited on
Commit
e84aeea
·
1 Parent(s): 350ae7e

Fix database error: Change status_validasi 'otomatis' to 'terverifikasi'

Browse files
Files changed (1) hide show
  1. backend/database.py +1 -1
backend/database.py CHANGED
@@ -228,7 +228,7 @@ def save_all_model_results(all_results: dict, best_meta: dict, komoditas_id: int
228
  ) VALUES (
229
  :komoditas_id, :nama_model, '1.0', :deskripsi, '',
230
  :mape, :rmse, :mae, :r2_score, 0,
231
- :stabilitas, 'otomatis', '',
232
  CURDATE(), CURDATE(), :is_active, NOW(), NOW()
233
  )
234
  """), {
 
228
  ) VALUES (
229
  :komoditas_id, :nama_model, '1.0', :deskripsi, '',
230
  :mape, :rmse, :mae, :r2_score, 0,
231
+ :stabilitas, 'terverifikasi', '',
232
  CURDATE(), CURDATE(), :is_active, NOW(), NOW()
233
  )
234
  """), {