Skip to content

Commit

Permalink
Update packages/tasks/src/tasks/video-text-to-text/about.md
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Cuenca <[email protected]>
  • Loading branch information
merveenoyan and pcuenca authored Sep 6, 2024
1 parent 4632795 commit be95adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tasks/src/tasks/video-text-to-text/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Video language models can recognize images through descriptions. When given deta
## Inference

You can use the Transformers library to interact with video-language models.
Below we load [a video language model](https://huggingface.co/llava-hf/LLaVA-NeXT-Video-7B-hf), write a simple utility to sample videos, use chat template to format the text prompt, process the video and the text prompt and infer. To run below snippet, please install [OpenCV](https://pypi.org/project/opencv-python/) by running `pip install opencv-python`.
Below we load [a video language model](https://huggingface.co/llava-hf/LLaVA-NeXT-Video-7B-hf), write a simple utility to sample videos, use chat template to format the text prompt, process the video and the text prompt and infer. To run the snippet below, please install [OpenCV](https://pypi.org/project/opencv-python/) by running `pip install opencv-python`.

```python
import uuid
Expand Down

0 comments on commit be95adc

Please sign in to comment.