@sooriyan wrote:
I have already run the same python script in my local machine which runs properly. But when i was deploying in heroku, following error was thrown.
dash.exceptions.NoLayoutException: The layout was
Noneat the time thatrun_serverwas called. Make sure to set thelayoutattribute of your application before running the server.Although I have specified my layout in the main() function of my script.
app.layout = html.Div([navbar, body]) app.run_server()
Posts: 1
Participants: 1