Commit 450d681

Repositorybojemoi
Branchmain
Authorgrafana-watcher
Hash450d6815fc155fbbcb6bd060feb965b7017ff531

Description

Fallback at startup: if pkl absent or incompatible (sklearn version mismatch), import train.train_models() and retrain with 2000 synthetic samples before loading, so the service is always operational without manual intervention.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Files Changed

Mml-threat/api.py

Diff Summary

m1l-ftihlreeacth/aanpgie.dp,y1|01i3nsertions(+),3deletions(-)