Fix naming issue with ImageToText pipeline (#18864)

Co-authored-by: Olivier Dehaene <olivier@huggingface.co>
This commit is contained in:
OlivierDehaene
2022-09-02 13:55:30 +02:00
committed by GitHub
parent 9b3eb81014
commit 129d73294e
5 changed files with 18 additions and 19 deletions

View File

@@ -29,7 +29,7 @@ There are two categories of pipeline abstractions to be aware about:
- [`FillMaskPipeline`]
- [`ImageClassificationPipeline`]
- [`ImageSegmentationPipeline`]
- [`Image2TextGenerationPipeline`]
- [`ImageToTextPipeline`]
- [`ObjectDetectionPipeline`]
- [`QuestionAnsweringPipeline`]
- [`SummarizationPipeline`]
@@ -366,9 +366,9 @@ That should enable you to do all the custom code you want.
- __call__
- all
### Image2TextGenerationPipeline
### ImageToTextPipeline
[[autodoc]] Image2TextGenerationPipeline
[[autodoc]] ImageToTextPipeline
- __call__
- all