[Fix] Type Hint in from_pretrained() to Ensure Correct Type Inference… · puhuk/diffusers@5b1dcd1 · GitHub
Skip to content

Commit 5b1dcd1

Browse files
SahilCarterrhlky
andauthored
[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

File tree

‎src/diffusers/pipelines/pipeline_utils.py‎

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)