Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,8 @@
|
|
| 1 |
from dash import Dash, Input, Output, callback, dcc, html
|
|
|
|
| 2 |
|
| 3 |
app = Dash(__name__)
|
| 4 |
-
|
| 5 |
-
# Expose the Flask server instance
|
| 6 |
-
server = app.server
|
| 7 |
|
| 8 |
md = """
|
| 9 |
# Dash demo
|
|
@@ -26,7 +25,3 @@ app.layout = html.Div(
|
|
| 26 |
)
|
| 27 |
def update_markdown_style(color):
|
| 28 |
return {"color": color}
|
| 29 |
-
|
| 30 |
-
if __name__ == '__main__':
|
| 31 |
-
app.run_server(host='0.0.0.0', port=8050, debug=False)
|
| 32 |
-
|
|
|
|
| 1 |
from dash import Dash, Input, Output, callback, dcc, html
|
| 2 |
+
import dash_bootstrap_components as dbc
|
| 3 |
|
| 4 |
app = Dash(__name__)
|
| 5 |
+
app = Dash(external_stylesheets=[dbc.themes.BOOTSTRAP])
|
|
|
|
|
|
|
| 6 |
|
| 7 |
md = """
|
| 8 |
# Dash demo
|
|
|
|
| 25 |
)
|
| 26 |
def update_markdown_style(color):
|
| 27 |
return {"color": color}
|
|
|
|
|
|
|
|
|
|
|
|