Skip to content

Commit

Permalink
Fix several imports (huggingface#7712)
Browse files Browse the repository at this point in the history
Fix imports
  • Loading branch information
tolgacangoz authored May 9, 2024
1 parent c1c4269 commit caf9e98
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/diffusers/pipelines/stable_diffusion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@
from .pipeline_stable_diffusion import (
StableDiffusionPipeline,
StableDiffusionPipelineOutput,
StableDiffusionSafetyChecker,
)
from .pipeline_stable_diffusion_img2img import StableDiffusionImg2ImgPipeline
from .pipeline_stable_diffusion_inpaint import StableDiffusionInpaintPipeline
Expand Down
2 changes: 1 addition & 1 deletion src/diffusers/schedulers/deprecated/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
raise OptionalDependencyNotAvailable()

except OptionalDependencyNotAvailable:
from ..utils.dummy_pt_objects import * # noqa F403
from ...utils.dummy_pt_objects import * # noqa F403
else:
from .scheduling_karras_ve import KarrasVeScheduler
from .scheduling_sde_vp import ScoreSdeVpScheduler
Expand Down

0 comments on commit caf9e98

Please sign in to comment.