From f00e9e8bbf78c6ac7cfd3feb00663d69c85e0c8c Mon Sep 17 00:00:00 2001 From: ChengZi Date: Thu, 2 Feb 2023 10:56:00 +0800 Subject: [PATCH] update readme with dc2 --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 245309b..0651451 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,8 @@ This operator extracts features for video or text with [CLIP4Clip](https://arxiv ## Code Example -Load an video from path './demo_video.mp4' to generate an video embedding. - Read the text 'kids feeding and playing with the horse' to generate an text embedding. - *Write the pipeline in simplified style*: - ```python from towhee.dc2 import pipe, ops, DataCollection @@ -37,6 +33,8 @@ DataCollection(p('kids feeding and playing with the horse')).show() ``` ![](text_emb_output.png) +Load an video from path './demo_video.mp4' to generate an video embedding. + ```python from towhee.dc2 import pipe, ops, DataCollection