diff --git a/usage-advanced.py b/usage-advanced.py index 8e94b85..aba4556 100644 --- a/usage-advanced.py +++ b/usage-advanced.py @@ -1,10 +1,9 @@ from textwrap import dedent +from dash import Dash, dcc, html, Input, Output, State import dash_player -import dash -from dash import dcc, html, Input, Output, State -app = dash.Dash(__name__) +app = Dash(__name__) server = app.server app.scripts.config.serve_locally = True diff --git a/usage-method.py b/usage-method.py index cd4e306..12618e7 100644 --- a/usage-method.py +++ b/usage-method.py @@ -1,8 +1,7 @@ +from dash import Dash, html, Input, Output, State import dash_player -import dash -from dash import dcc, html, Input, Output, State -app = dash.Dash(__name__) +app = Dash(__name__) app.scripts.config.serve_locally = True diff --git a/usage.py b/usage.py index 1470a14..82a54fa 100644 --- a/usage.py +++ b/usage.py @@ -1,8 +1,7 @@ +from dash import Dash, dcc, html, Input, Output, State import dash_player -import dash -from dash import dcc, html, Input, Output -app = dash.Dash(__name__) +app = Dash(__name__) app.scripts.config.serve_locally = True