diff --git a/README.md b/README.md index ee8f8fb..14abf08 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Read the text 'kids feeding and playing with the horse' to generate a text embed - Encode video (default): ```python -from towhee.dc2 import pipe, ops, DataCollection +from towhee import pipe, ops, DataCollection p = ( pipe.input('video_path') \ @@ -35,7 +35,7 @@ DataCollection(p('./demo_video.mp4')).show() - Encode text: ```python -from towhee.dc2 import pipe, ops, DataCollection +from towhee import pipe, ops, DataCollection p = ( pipe.input('text') \