Skip to content

Commit

Permalink
fix dummy import for AudioLDM2 (huggingface#4741)
Browse files Browse the repository at this point in the history
* fix import

* style
  • Loading branch information
patil-suraj authored Aug 23, 2023
1 parent 0a0fe69 commit 709a642
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/diffusers/pipelines/audioldm2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
from ...utils.dummy_torch_and_transformers_objects import (
AudioLDM2Pipeline,
AudioLDM2ProjectionModel,
AudioLDMPipeline,
AudioLDM2UNet2DConditionModel,
)
else:
from .modeling_audioldm2 import AudioLDM2ProjectionModel, AudioLDM2UNet2DConditionModel
Expand Down

0 comments on commit 709a642

Please sign in to comment.