diff --git a/README.md b/README.md index 472c2bc..06c4638 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ This operator extracts features for video or text with [DRL(Disentangled Represe Read the text 'kids feeding and playing with the horse' to generate a text embedding. ```python -from towhee.dc2 import pipe, ops, DataCollection +from towhee import pipe, ops, DataCollection p = ( pipe.input('text') \ @@ -37,7 +37,7 @@ DataCollection(p('kids feeding and playing with the horse')).show() Load an video from path './demo_video.mp4' to generate a video embedding. ```python -from towhee.dc2 import pipe, ops, DataCollection +from towhee import pipe, ops, DataCollection p = ( pipe.input('video_path') \