From b091ac605cc34351ba53436bcf8f8278966c45b0 Mon Sep 17 00:00:00 2001 From: ChengZi Date: Thu, 2 Feb 2023 10:53:25 +0800 Subject: [PATCH] update readme with dc2 --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 8bcfe56..2da81ec 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,8 @@ This operator extracts features for video or text with [DRL(Disentangled Represe ## Code Example -Load an video from path './demo_video.mp4' to generate a video embedding. - Read the text 'kids feeding and playing with the horse' to generate a text embedding. - *Write the pipeline in simplified style*: - ```python from towhee.dc2 import pipe, ops, DataCollection @@ -38,6 +34,7 @@ DataCollection(p('kids feeding and playing with the horse')).show() ![](text_emb_result.png) +Load an video from path './demo_video.mp4' to generate a video embedding. ```python from towhee.dc2 import pipe, ops, DataCollection