From 026932cfab2cdc681684e9764cdc5262daff5780 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Tue, 16 Apr 2024 14:49:08 +0100 Subject: [PATCH] add notification to warn of model training closes #79 --- webpage/src/routes/models/edit/+page.svelte | 6 + webpage/src/styles/app.css | 159 +++++++++++--------- 2 files changed, 98 insertions(+), 67 deletions(-) diff --git a/webpage/src/routes/models/edit/+page.svelte b/webpage/src/routes/models/edit/+page.svelte index 2e09629..516c9a4 100644 --- a/webpage/src/routes/models/edit/+page.svelte +++ b/webpage/src/routes/models/edit/+page.svelte @@ -128,6 +128,12 @@
+ {#if [4, 7].includes(_model?.status ?? 0)} +
The Model is currently training
+ {/if} + {#if [-4, -7].includes(_model?.status ?? 0)} +
The Model is failed to train
+ {/if}