From 8687fb823d2c4813f6de11499b4b08f2f3f5eb7d Mon Sep 17 00:00:00 2001 From: tharvik Date: Sat, 4 May 2024 00:31:08 +0200 Subject: [PATCH] TMP debug server --- server/src/tasks.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/src/tasks.ts b/server/src/tasks.ts index 619477be5..b1b2e00d5 100644 --- a/server/src/tasks.ts +++ b/server/src/tasks.ts @@ -116,6 +116,8 @@ export class TasksAndModels { discoTask = task.getTask() } + console.log("server: add task >>", discoTask.id) + let tfModel: Model if (model === undefined) { tfModel = await this.loadModelFromTask(task) @@ -127,6 +129,8 @@ export class TasksAndModels { throw new Error('invalid model') } + console.log("server: add task <<", discoTask.id) + this.tasksAndModels = this.tasksAndModels.add([discoTask, tfModel]) this.emit('taskAndModel', discoTask, tfModel) }