Last active
June 1, 2020 20:35
-
-
Save tashrifbillah/6821a3fdf4c9cda0d5683adf08b1c2ee to your computer and use it in GitHub Desktop.
Using same port on dash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import dash | |
import dash_html_components as html | |
import dash_core_components as dcc | |
from dash.dependencies import Input, Output | |
external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css'] | |
app = dash.Dash(__name__, external_stylesheets=external_stylesheets) | |
app.layout = html.Div([ | |
'The dropdown menu is vanished', | |
html.Br(), | |
'Sample HTML' | |
]) | |
app.run_server(debug=False, port= 8050, host= 'localhost') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment