diff --git a/vigilar/web/blueprints/pets.py b/vigilar/web/blueprints/pets.py index 3d94db1..3f80e0d 100644 --- a/vigilar/web/blueprints/pets.py +++ b/vigilar/web/blueprints/pets.py @@ -225,7 +225,6 @@ def delete_pet(pet_id: str): @pets_bp.route("/train", methods=["POST"]) def train_model(): - engine = _engine() pets_cfg = current_app.config.get("PETS_CONFIG") if not pets_cfg: return jsonify({"error": "Pet detection not configured"}), 400