Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Unable to deploy my Dash application in heroku

$
0
0

@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 None at the time that run_server was called. Make sure to set the layout attribute 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

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles