Hello @VolGuy,
The function is one step, an additional thing I do is to check if there is a flask.request.
def layout():
if not flask.request:
return html.Div()
# rest of code here
This will keep it from trying to load this layout initially when the app is spinning up, but will cater it like normal when requested.