diff --git a/web/clean_dashboard.py b/web/clean_dashboard.py index dc1b5e0..f6cf239 100644 --- a/web/clean_dashboard.py +++ b/web/clean_dashboard.py @@ -1618,6 +1618,15 @@ class CleanTradingDashboard: # Create panel instance with orchestrator panel = ModelsTrainingPanel(orchestrator=self.orchestrator) + # Ensure enhanced training system is initialized and running + try: + if self.orchestrator and hasattr(self.orchestrator, 'initialize_enhanced_training_system'): + self.orchestrator.initialize_enhanced_training_system() + if self.orchestrator and hasattr(self.orchestrator, 'start_enhanced_training'): + self.orchestrator.start_enhanced_training() + except Exception as _ets_ex: + logger.warning(f"TRAINING: Failed to start orchestrator enhanced training system: {_ets_ex}") + # Prefer create_panel if available; fallback to render if hasattr(panel, 'create_panel'): panel_content = panel.create_panel()