Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ pl.enable_string_cache(False)
|
|
| 9 |
|
| 10 |
external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
|
| 11 |
|
| 12 |
-
app = dash.Dash(prevent_initial_callbacks = 'initial_duplicate',
|
| 13 |
|
| 14 |
app.layout = html.Div([
|
| 15 |
html.H1('Multi-page app with Dash Pages'),
|
|
|
|
| 9 |
|
| 10 |
external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
|
| 11 |
|
| 12 |
+
app = dash.Dash(__name__, prevent_initial_callbacks = 'initial_duplicate', use_pages=True, external_stylesheets=external_stylesheets)
|
| 13 |
|
| 14 |
app.layout = html.Div([
|
| 15 |
html.H1('Multi-page app with Dash Pages'),
|