mirix commited on
Commit
8947014
·
verified ·
1 Parent(s): cd761ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -6,6 +6,8 @@ os.environ['suppress_callback_exceptions'] = 'True'
6
 
7
  app = Dash(__name__, use_pages=True)
8
 
 
 
9
  button_style = {'background-color': 'darkorange', 'color': 'white', 'fontWeight': 'bold', 'fontFamily': 'Arial, Helvetica, sans-serif', 'border': '0px', 'border-radius': '5%', 'padding': '5px', 'margin': '5px'}
10
 
11
  pages = {}
@@ -21,4 +23,4 @@ app.layout = html.Div([
21
  ])
22
 
23
  if __name__ == '__main__':
24
- app.run_server(debug=True, host='0.0.0.0')
 
6
 
7
  app = Dash(__name__, use_pages=True)
8
 
9
+ server = app.server
10
+
11
  button_style = {'background-color': 'darkorange', 'color': 'white', 'fontWeight': 'bold', 'fontFamily': 'Arial, Helvetica, sans-serif', 'border': '0px', 'border-radius': '5%', 'padding': '5px', 'margin': '5px'}
12
 
13
  pages = {}
 
23
  ])
24
 
25
  if __name__ == '__main__':
26
+ app.run(debug=True, host='0.0.0.0')