Skip to content

Instantly share code, notes, and snippets.

@tashrifbillah
Last active June 1, 2020 20:35
Show Gist options
  • Save tashrifbillah/6821a3fdf4c9cda0d5683adf08b1c2ee to your computer and use it in GitHub Desktop.
Save tashrifbillah/6821a3fdf4c9cda0d5683adf08b1c2ee to your computer and use it in GitHub Desktop.
Using same port on dash
#!/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