Commit
Β·
6fcb89a
1
Parent(s):
0f6ed0a
Update scheduler/schedule_tasks.py
Browse filesFixed the function call in line 34 from `retrain_if_needed()` to `train_model` for triggering model retraining
scheduler/schedule_tasks.py
CHANGED
@@ -31,7 +31,7 @@ def run_scraper_and_generator():
|
|
31 |
log_event("New data scraped and uploaded, triggering retraining now")
|
32 |
|
33 |
print("π Retraining pipeline started...")
|
34 |
-
|
35 |
|
36 |
print("π Monitoring for data drift...")
|
37 |
drift_score = monitor_drift()
|
|
|
31 |
log_event("New data scraped and uploaded, triggering retraining now")
|
32 |
|
33 |
print("π Retraining pipeline started...")
|
34 |
+
train_model()
|
35 |
|
36 |
print("π Monitoring for data drift...")
|
37 |
drift_score = monitor_drift()
|