diff --git a/packages/frontend/src/pages/Models.svelte b/packages/frontend/src/pages/Models.svelte index f7b9d5262..49a0e5ebc 100644 --- a/packages/frontend/src/pages/Models.svelte +++ b/packages/frontend/src/pages/Models.svelte @@ -31,9 +31,9 @@ const row = new Row({}); let loading: boolean = true; let intervalId: ReturnType | undefined = undefined; -$: tasks = [] as Task[]; -$: models = [] as ModelInfo[]; -$: filteredModels = [] as ModelInfo[]; +let tasks: Task[] = []; +let models: ModelInfo[] = []; +let filteredModels: ModelInfo[] = []; function filterModels(): void { // Let's collect the models we do not want to show (loading, error).