Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
709a6428
"src/vscode:/vscode.git/clone" did not exist on "ecfbc8f952fb20b47d2f85695e98d64c2f5b219a"
Unverified
Commit
709a6428
authored
Aug 23, 2023
by
Suraj Patil
Committed by
GitHub
Aug 23, 2023
Browse files
fix dummy import for AudioLDM2 (#4741)
* fix import * style
parent
0a0fe69a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/diffusers/pipelines/audioldm2/__init__.py
src/diffusers/pipelines/audioldm2/__init__.py
+2
-1
No files found.
src/diffusers/pipelines/audioldm2/__init__.py
View file @
709a6428
...
@@ -11,8 +11,9 @@ try:
...
@@ -11,8 +11,9 @@ try:
raise
OptionalDependencyNotAvailable
()
raise
OptionalDependencyNotAvailable
()
except
OptionalDependencyNotAvailable
:
except
OptionalDependencyNotAvailable
:
from
...utils.dummy_torch_and_transformers_objects
import
(
from
...utils.dummy_torch_and_transformers_objects
import
(
AudioLDM2Pipeline
,
AudioLDM2ProjectionModel
,
AudioLDM2ProjectionModel
,
AudioLDM
Pipeline
,
AudioLDM
2UNet2DConditionModel
,
)
)
else
:
else
:
from
.modeling_audioldm2
import
AudioLDM2ProjectionModel
,
AudioLDM2UNet2DConditionModel
from
.modeling_audioldm2
import
AudioLDM2ProjectionModel
,
AudioLDM2UNet2DConditionModel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment