{{ message }}
Repository navigation
Commit 5b1dcd1
[Fix] Type Hint in from_pretrained() to Ensure Correct Type Inference (huggingface#10714)
* Update pipeline_utils.py
Added Self in from_pretrained method so inference will correctly recognize pipeline
* Use typing_extensions
---------
Co-authored-by: hlky <hlky@hlky.ac>1 parent dbe0094 commit 5b1dcd1
1 file changed
Lines changed: 2 additions & 1 deletion

0 commit comments