diff --git a/01_intro.ipynb b/01_intro.ipynb index f41af67..8088d8a 100644 --- a/01_intro.ipynb +++ b/01_intro.ipynb @@ -758,8 +758,7 @@ } ], "source": [ - "img = PILImage.create(uploader.data[0])\n", - "is_cat,_,probs = learn.predict(img)\n", + "is_cat,_,probs = learn.predict(uploader.data[0])\n", "print(f\"Is this a cat?: {is_cat}.\")\n", "print(f\"Probability it's a cat: {probs[1].item():.6f}\")" ]