diff --git a/dcm/dcm_webserver.py b/dcm/dcm_webserver.py index 30e68fc..882e0d5 100644 --- a/dcm/dcm_webserver.py +++ b/dcm/dcm_webserver.py @@ -385,7 +385,7 @@ def assess_learner(self, dcm, learner): self.assessment = Assessment(self, dcm=dcm, learner=learner) # we have to await self.assessment.step(0) # so we trigger it async - ui.timer(0, self.assessment.step,0, once=True) + ui.timer(0, lambda: self.assessment.step(0), once=True) def new_assess(self): """