From 03a4be92c9d931a2ffa0c301897719383e6afe90 Mon Sep 17 00:00:00 2001 From: "junjie.jiang" Date: Fri, 10 Mar 2023 15:14:31 +0800 Subject: [PATCH] update Signed-off-by: junjie.jiang --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):