[Answered ]-Django Dash live Update

1👍

You need to wrap your Inputs in lists, like this:

41. @app.callback(Output('live-update-text', 'children'),
42.               [Input('interval-component', 'n_intervals')])
43. def update_metrics(n):
        # func code...

If you fix them both, then that should resolve your issue.

Leave a comment