Skip to content

Commit

Permalink
Hide slider when running live model
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmbland committed Dec 14, 2023
1 parent 0dadec9 commit a881a9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/pages/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from dash import Input, Output, State, callback, ctx, dcc, html # type: ignore
from dash_iconify import DashIconify # type: ignore

from .. import LIVE_MODEL, log
from .. import core_api as core
from .. import log
from ..data import data_interval

dash.register_page(__name__)
Expand Down Expand Up @@ -193,9 +193,9 @@ def get_button(func: str, icon: str) -> html.Button:
],
style={
"width": "40%",
"display": "flex",
"flex-direction": "column",
"justify-content": "center",
"display": "none" if LIVE_MODEL else "flex",
},
),
get_button("default", "iconoir:undo"),
Expand Down

0 comments on commit a881a9f

Please sign in to comment.