diff --git a/3. O'Reilly Generate from image.ipynb b/3. O'Reilly Generate from image.ipynb index 7d1b1da..9089244 100644 --- a/3. O'Reilly Generate from image.ipynb +++ b/3. O'Reilly Generate from image.ipynb @@ -89,7 +89,9 @@ }, "outputs": [], "source": [ - "image_path = './image_path.jpg'" + "image_path = './image_path.jpg'\n", + "if not os.path.exists(image_path):\n", + " print ('Error: image_path not found. Change image_path to image requiring captions.')" ] }, {