Commit 38ec1d4
authored
Improve typing of
* Improve typing of `pipeline` helper function
* Overhaul image pipeline types
* Improve typing
* Fix export
* Do not require separate proxy object
* Update text classification pipeline types
* Fix calls to base pipeline
* Improve inheritance
* Fix JSDoc
* Update token classification pipeline typing
* Update question answering pipeline
* Update fill-mask pipeline
* Fix JSDoc
* Improve generation config typing
* Update text2text generation pipeline
* Fix generation config type
* Update summarization and translation pipelines
* Update text generation pipeline types
* Update zero-shot classification pipeline types
* Update feature extraction pipeline types
* Update audio pipeline types
* Fix generation config types
* Improve pipeline constructor types
* Update image to text pipeline types
* Update image classification pipeline types
* Update zero-shot image classification pipeline types
* Update ImageSegmentationPipeline constructor type
* Update object detection pipeline types
* Update zero-shot object detection pipeline types
* Update document question answering pipeline types
* Update text-to-audio pipeline types
* Update image-to-image pipeline types
* Update depth estimation pipeline types
* Improve return JSDoc
* Improve example pipeline JSDocpipeline helper function (#485)1 parent 61459e3 commit 38ec1d4
File tree
6 files changed
+1173
-898
lines changed- src
- utils
6 files changed
+1173
-898
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
816 | | - | |
| 816 | + | |
817 | 817 | | |
818 | 818 | | |
819 | 819 | | |
| |||
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
946 | | - | |
947 | | - | |
948 | | - | |
| 946 | + | |
| 947 | + | |
949 | 948 | | |
950 | 949 | | |
951 | 950 | | |
| |||
0 commit comments