Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 17 additions & 10 deletions dashboard/model_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,17 +498,20 @@ def panel(self):
):
with vuetify.VExpansionPanelText():
with vuetify.VRow(align="center"):
with vuetify.VCol(cols=model_type_cols):
with vuetify.VCol(
cols=model_type_cols, classes="d-flex align-center"
):
vuetify.VSelect(
v_model=("model_type_verbose",),
label="Model type",
items=(model_type_list,),
dense=True,
hide_details=True,
)
if AMSC_LOGO_URL:
with vuetify.VCol(
cols=4,
classes="d-flex align-center justify-end",
classes="d-flex align-center",
):
with html.A(
v_if=(AMSC_MLFLOW_LINK_ACTIVE_EXPR,),
Expand Down Expand Up @@ -578,8 +581,17 @@ def panel(self):
height=4,
rounded=True,
)
with vuetify.VRow(align="center"):
with vuetify.VCol(cols="auto"):
with vuetify.VRow():
with vuetify.VCol():
vuetify.VTextField(
v_model_number=("model_training_status",),
label="Training status",
readonly=True,
dense=True,
hide_details=True,
)
with vuetify.VRow():
with vuetify.VCol():
vuetify.VBtn(
"Train",
click=self.training_trigger,
Expand All @@ -588,11 +600,6 @@ def panel(self):
"(model_training_mode === 'sfapi' && "
"perlmutter_status !== 'active')",
),
block=True,
style="text-transform: none",
)
with vuetify.VCol(cols=6, style="margin-left: auto;"):
vuetify.VTextField(
v_model_number=("model_training_status",),
label="Training status",
readonly=True,
)
Loading