1👍
You need to wrap your Input
s 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.
Source:stackexchange.com