File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
examples/openvino/stable_diffusion Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 44# except in compliance with the License. See the license file found in the
55# LICENSE file in the root directory of this source tree.
66
7- # mypy: disable-error-code=union-attr
7+ # mypy: disable-error-code=" union-attr,import-not-found"
88
99import argparse
1010import logging
1515from torch .export import export
1616
1717try :
18- from diffusers import DiffusionPipeline
18+ from diffusers import DiffusionPipeline # type: ignore[import-not-found]
1919except ImportError :
2020 raise ImportError (
2121 "Please install diffusers and transformers: pip install diffusers transformers"
Original file line number Diff line number Diff line change 44# except in compliance with the License. See the license file found in the
55# LICENSE file in the root directory of this source tree.
66
7- # mypy: disable-error-code=union-attr
7+ # mypy: disable-error-code=" union-attr,import-not-found"
88
99import argparse
1010import logging
You can’t perform that action at this time.
0 commit comments