diff --git a/README.md b/README.md index 4edcf6c..1ea4eae 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,6 @@ towhee.glob('./teddy.jpg') \ .show() towhee.dc(["A teddybear on a skateboard in Times Square."]) \ - .image_decode.cv2() \ .towhee.clip(name='ViT-B/32', modality='text') \ .show() ``` @@ -46,8 +45,8 @@ import towhee towhee.glob['path']('./teddy.jpg') \ .image_decode.cv2['path', 'img']() \ - .towhee.clip['data', 'vec'](name='ViT-B/32', modality='image') \ - .select['data', 'vec']() \ + .towhee.clip['img', 'vec'](name='ViT-B/32', modality='image') \ + .select['img', 'vec']() \ .show() towhee.dc['text'](["A teddybear on a skateboard in Times Square."]) \