NPU (wip); docker
This commit is contained in:
@@ -18,6 +18,7 @@ class DashboardLayoutManager:
|
||||
"""Create the main dashboard layout with dark theme"""
|
||||
return html.Div([
|
||||
self._create_header(),
|
||||
self._create_chained_inference_status(),
|
||||
self._create_interval_component(),
|
||||
self._create_main_content(),
|
||||
self._create_prediction_tracking_section() # NEW: Prediction tracking
|
||||
@@ -105,13 +106,27 @@ class DashboardLayoutManager:
|
||||
)
|
||||
], className="bg-dark p-2 mb-2")
|
||||
|
||||
def _create_chained_inference_status(self):
|
||||
"""Create chained inference status display"""
|
||||
return html.Div([
|
||||
html.H6("🔗 Chained Inference Status", className="text-warning mb-1"),
|
||||
html.Div(id="chained-inference-status", className="text-light small", children="Initializing...")
|
||||
], className="bg-dark p-2 mb-2")
|
||||
|
||||
def _create_interval_component(self):
|
||||
"""Create the auto-refresh interval component"""
|
||||
return dcc.Interval(
|
||||
id='interval-component',
|
||||
interval=1000, # Update every 1 second for maximum responsiveness
|
||||
n_intervals=0
|
||||
)
|
||||
return html.Div([
|
||||
dcc.Interval(
|
||||
id='interval-component',
|
||||
interval=1000, # Update every 1 second for maximum responsiveness
|
||||
n_intervals=0
|
||||
),
|
||||
dcc.Interval(
|
||||
id='minute-interval-component',
|
||||
interval=60000, # Update every 60 seconds for chained inference
|
||||
n_intervals=0
|
||||
)
|
||||
])
|
||||
|
||||
def _create_main_content(self):
|
||||
"""Create the main content area"""
|
||||
|
Reference in New Issue
Block a user