Fix new Frontend 15

This commit is contained in:
Urtzi Alfaro
2025-08-04 21:46:12 +02:00
parent 8bb14ecc4f
commit 32a7b913d0
10 changed files with 705 additions and 217 deletions

View File

@@ -81,6 +81,13 @@ class TrainingService:
# Step 1: Prepare training dataset with date alignment and orchestration
logger.info("Step 1: Preparing and aligning training data")
await self.status_publisher.progress_update(
progress=10,
step="data_validation",
step_details="Data validation and alignment completed"
)
training_dataset = await self.orchestrator.prepare_training_data(
tenant_id=tenant_id,
bakery_location=bakery_location,
@@ -89,12 +96,6 @@ class TrainingService:
job_id=job_id
)
await self.status_publisher.progress_update(
progress=10,
step="data_validation",
step_details="Data validation and alignment completed"
)
# Step 2: Execute ML training pipeline
logger.info("Step 2: Starting ML training pipeline")
training_results = await self.trainer.train_tenant_models(