logo
Browse Source

rm dc2 in readme

main
ChengZi 1 year ago
parent
commit
08cf149db2
  1. 4
      README.md

4
README.md

@ -20,7 +20,7 @@ This operator extracts features for video or text with [CLIP4Clip](https://arxiv
Read the text 'kids feeding and playing with the horse' to generate an text embedding.
```python
from towhee.dc2 import pipe, ops, DataCollection
from towhee import pipe, ops, DataCollection
p = (
pipe.input('text') \
@ -36,7 +36,7 @@ DataCollection(p('kids feeding and playing with the horse')).show()
Load an video from path './demo_video.mp4' to generate an video embedding.
```python
from towhee.dc2 import pipe, ops, DataCollection
from towhee import pipe, ops, DataCollection
p = (
pipe.input('video_path') \

Loading…
Cancel
Save