| from __future__ import annotations | |
| from typing import Any | |
| def train(context, **settings: Any) -> dict[str, Any]: | |
| """Put your training implementation here. | |
| Use context.log("message"), context.progress(percent, "message"), and | |
| context.preview(path) to report back to ADAM without touching the GUI. | |
| """ | |
| context.log("Template trainer loaded. Replace this with real training code.") | |
| context.progress(100, "Template training complete") | |
| return {} | |