Skip to content

Commit ec9fe68

Browse files
authored
Undefined name: from typing import List (#31)
1 parent 152dd65 commit ec9fe68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python_coreml_stable_diffusion/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import time
3939
import torch # Only used for `torch.from_tensor` in `pipe.scheduler.step()`
4040
from transformers import CLIPFeatureExtractor, CLIPTokenizer
41-
from typing import Union, Optional
41+
from typing import List, Optional, Union
4242

4343

4444
class CoreMLStableDiffusionPipeline(DiffusionPipeline):

0 commit comments

Comments
 (0)