I just installed new Dash 2.9.3, then when I run below run_server, it create two hyperlinks. What are the difference between Dash is running and Dash app running? why there are 2 now? Thanks
Thanks Adam. Sorry for late reply. Yes your code in python file run fine. If I convert it to Jupyter Dash like below, then the result is the same with two hyperlink, can you try my below code to see how it look like in your pc? Also I do include two underscore for name and main. The below code after pasting here doen’t have underscore displayed, not sure why?
My code was running fine until recently I updated Dash to latest version. Thanks for your help.
from dash import Dash, html
from jupyter_dash import JupyterDash
# app = Dash(__name__)
app = JupyterDash(__name__,
external_stylesheets=[
"https://stackpath.bootstrapcdn.com/bootswatch/4.5.0/flatly/bootstrap.min.css"
],
suppress_callback_exceptions=True
)
app.layout = html.Div([
html.Div(children='Hello World')
])
if __name__ == '__main__':
app.run_server(debug=True)
Thanks Adam. Yes it works now but I prefer not to use mode=inline. I would go back to use mode=external with two hyperlinks anyway. Thanks for your help. I appreciate it