From 81cd66845f964a4cd1eab58d4c6545bdc1bf9e98 Mon Sep 17 00:00:00 2001 From: Ivan Murabito <36967518+CuriousDolphin@users.noreply.github.com> Date: Thu, 28 Nov 2024 13:58:17 +0100 Subject: [PATCH] fix:typo --- focoos/remote_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/focoos/remote_model.py b/focoos/remote_model.py index fd27e43..45270ae 100644 --- a/focoos/remote_model.py +++ b/focoos/remote_model.py @@ -312,7 +312,7 @@ def monitor_train(self, update_period=30): logger.info(f"Model is not training, status: {status['main_status']}") return - def stop_traing(self): + def stop_training(self): res = self.http_client.delete(f"models/{self.model_ref}/train") if res.status_code != 200: logger.error(f"Failed to get stop training: {res.status_code} {res.text}")