diff --git a/README.md b/README.md index ff4db9c..70579e0 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ av ## How it works ```python -from towhee.dc2 import pipe, ops, DataCollection +from towhee import pipe, ops, DataCollection p = ( pipe.input('video_file') @@ -66,7 +66,7 @@ DataCollection(p('./video.mp4')).show(limit=1) ``` ```python -from towhee.dc2 import ops +from towhee import ops d = ops.video_decode.ffmpeg(start_time=10.0, end_time=20.0, sample_type='uniform_temporal_subsample', args={'num_samples': 10}) for frame in d(video_path):