Undefined name: from typing import List (#31)

pull/30/head^2
Christian Clauss 2 years ago committed by GitHub
parent 152dd65e7d
commit ec9fe68259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -38,7 +38,7 @@ from python_coreml_stable_diffusion.coreml_model import (
import time
import torch # Only used for `torch.from_tensor` in `pipe.scheduler.step()`
from transformers import CLIPFeatureExtractor, CLIPTokenizer
from typing import Union, Optional
from typing import List, Optional, Union
class CoreMLStableDiffusionPipeline(DiffusionPipeline):

Loading…
Cancel
Save