Skip to content

Commit

Permalink
TMP debug server
Browse files Browse the repository at this point in the history
  • Loading branch information
tharvik committed May 3, 2024
1 parent 18e4e43 commit 8687fb8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/src/tasks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
}
Expand Down

0 comments on commit 8687fb8

Please sign in to comment.