Skip to content

Commit

Permalink
update xcomposer2d5 docs (#2037)
Browse files Browse the repository at this point in the history
* update xcomposer2d5 docs

* update docs
  • Loading branch information
irexyc authored Jul 16, 2024
1 parent 419f765 commit aeda1ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en/multi_modal/xcomposer2d5.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ from lmdeploy.vl.constants import IMAGE_TOKEN
pipe = pipeline('internlm/internlm-xcomposer2d5-7b')

image = load_image('https://raw.githubusercontent.com/open-mmlab/mmdeploy/main/tests/data/tiger.jpeg')
response = pipe((f'describe this image {IMAGE_TOKEN}', image))
response = pipe((f'describe this image', image))
print(response)
```

Expand Down
2 changes: 1 addition & 1 deletion docs/zh_cn/multi_modal/xcomposer2d5.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ from lmdeploy.vl.constants import IMAGE_TOKEN
pipe = pipeline('internlm/internlm-xcomposer2d5-7b')

image = load_image('https://raw.githubusercontent.com/open-mmlab/mmdeploy/main/tests/data/tiger.jpeg')
response = pipe((f'describe this image {IMAGE_TOKEN}', image))
response = pipe((f'describe this image', image))
print(response)
```

Expand Down

0 comments on commit aeda1ac

Please sign in to comment.