import dash
import dash_html_components as html
import inspect
app = dash.Dash()
def serve_layout():
print('Callinggg layout')
return html.Div('hellof world')
app.layout = serve_layout
if __name__ == '__main__':
app.run_server(debug=True)
Any idea how to fix this?
it’s a simple app so its not a problem here but I have another app that creates 3 times the amount of elements needed because of this problem so I need to find a solution