diff --git a/examples/tutorial.ipynb b/examples/tutorial.ipynb index d0324cfce5..8761d17867 100644 --- a/examples/tutorial.ipynb +++ b/examples/tutorial.ipynb @@ -61,11 +61,9 @@ }, "source": [ "# Pip install (recommended)\n", - "!pip install ultralytics\n", - "\n", - "from IPython import display\n", - "display.clear_output()\n", - "!yolo mode=checks" + "%pip install ultralytics\n", + "import ultralytics\n", + "ultralytics.checks()" ], "execution_count": null, "outputs": [ @@ -84,11 +82,9 @@ "source": [ "# Git clone (requires GitHub token)\n", "!git clone https://github.com/ultralytics/ultralytics\n", - "!pip install -e ultralytics\n", - "\n", - "from IPython import display\n", - "display.clear_output()\n", - "!yolo mode=checks" + "%pip install -e ultralytics\n", + "import ultralytics\n", + "ultralytics.checks()" ], "metadata": { "id": "TUFPge7f_1ms"