diff --git a/README.md b/README.md index 8ba3139..f03c9fe 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Load a video from path './demo_video.mp4' to generate a video embedding. - Encode video (default): ```python -from towhee.dc2 import pipe, ops, DataCollection +from towhee import pipe, ops, DataCollection p = ( pipe.input('video_path') \ @@ -37,7 +37,7 @@ Read the text 'kids feeding and playing with the horse' to generate a text embed - Encode text: ```python -from towhee.dc2 import pipe, ops, DataCollection +from towhee import pipe, ops, DataCollection p = ( pipe.input('text') \