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) }