diff --git a/README.md b/README.md index bf2bbf3..a2eaa44 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,8 @@ Load a image from path './dog.jpg'. ```python import towhee -towhee.glob(./dog.jpg) - .image_decode.cv2() +towhee.glob('./dog.jpg') + .image_decode.cv2() .show() ``` @@ -29,7 +29,7 @@ towhee.glob(./dog.jpg) ```python import towhee -towhee.glob['path'](./dog.jpg) +towhee.glob['path']('./dog.jpg') .image_decode.cv2['path', 'img']() .select('img') .show()