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