File size: 341 Bytes
f42a4e3
 
87abfbf
f42a4e3
78e78fc
f42a4e3
 
 
 
 
 
45c9e0c
abcc97a
45c9e0c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from dash import Dash
from index import layout, register_callbacks
import os


app = Dash(__name__, suppress_callback_exceptions=True)
app.layout = layout

# Register callbacks
register_callbacks(app)

if __name__ == '__main__':
    app.run_server(debug=False, host=os.environ.get("HOST") or "0.0.0.0", port=os.environ.get("PORT") or 8080)