diff --git a/README.md b/README.md index 0651451..ffe3038 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ This operator extracts features for video or text with [CLIP4Clip](https://arxiv Read the text 'kids feeding and playing with the horse' to generate an text embedding. ```python -from towhee.dc2 import pipe, ops, DataCollection +from towhee import pipe, ops, DataCollection p = ( pipe.input('text') \ @@ -36,7 +36,7 @@ DataCollection(p('kids feeding and playing with the horse')).show() Load an video from path './demo_video.mp4' to generate an video embedding. ```python -from towhee.dc2 import pipe, ops, DataCollection +from towhee import pipe, ops, DataCollection p = ( pipe.input('video_path') \