21 lines
355 B
Python
21 lines
355 B
Python
#!/usr/bin/env python
|
|
# encoding: utf-8
|
|
|
|
import dash
|
|
import flask
|
|
|
|
from .layout.layout import layout
|
|
|
|
server = flask.Flask(__name__)
|
|
app = dash.Dash(
|
|
__name__,
|
|
server=server,
|
|
suppress_callback_exceptions=True,
|
|
meta_tags=[{"name": "viewport", "content": "width=device-width, initial-scale=1"}],
|
|
)
|
|
|
|
|
|
app.layout = layout
|
|
server = app.server
|
|
|