File size: 472 Bytes
1ac9744 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 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 {}
|