logo
Browse Source

rm dc2 in readme

main
ChengZi 2 years ago
parent
commit
714bb52036
  1. 4
      README.md

4
README.md

@ -21,7 +21,7 @@ This operator extracts features for video or text with [DRL(Disentangled Represe
Read the text 'kids feeding and playing with the horse' to generate a text embedding.
```python
from towhee.dc2 import pipe, ops, DataCollection
from towhee import pipe, ops, DataCollection
p = (
pipe.input('text') \
@ -37,7 +37,7 @@ DataCollection(p('kids feeding and playing with the horse')).show()
Load an video from path './demo_video.mp4' to generate a video embedding.
```python
from towhee.dc2 import pipe, ops, DataCollection
from towhee import pipe, ops, DataCollection
p = (
pipe.input('video_path') \

Loading…
Cancel
Save