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')) \