From 8c2d4c0ed2cb2419ca33f9a0816604a02a26445d Mon Sep 17 00:00:00 2001 From: "junjie.jiang" Date: Fri, 10 Mar 2023 15:19:23 +0800 Subject: [PATCH] update Signed-off-by: junjie.jiang --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 69b4989..ffd77bb 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Search embedding in [Milvus](https://milvus.io/), **please make sure you have in ```python -from towhee.dc2 import pipe, ops, DataCollection +from towhee import pipe, ops, DataCollection p = pipe.input('text') \ .map('text', 'vec', ops.sentence_embedding.transformers(model_name='all-MiniLM-L12-v2')) \ @@ -32,10 +32,10 @@ DataCollection(p('cat')).show() ``` ```python -from towhee.dc2 import pipe, ops +from towhee import pipe, ops # search additional info url: -from towhee.dc2 import pipe, ops, DataCollection +from towhee import pipe, ops, DataCollection p = pipe.input('text') \ .map('text', 'vec', ops.sentence_embedding.transformers(model_name='all-MiniLM-L12-v2')) \