Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 043ab25

Browse files
authored
Fix WanVACEPipeline to allow prompt to be None and skip encoding step (#12251)
Fixed WanVACEPipeline to allow prompt to be None and skip encoding step
1 parent 08c2902 commit 043ab25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/diffusers/pipelines/wan/pipeline_wan_vace.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ def __call__(
795795
callback_on_step_end_tensor_inputs = callback_on_step_end.tensor_inputs
796796

797797
# Simplification of implementation for now
798-
if not isinstance(prompt, str):
798+
if promptisnotNoneandnot isinstance(prompt, str):
799799
raise ValueError("Passing a list of prompts is not yet supported. This may be supported in the future.")
800800
if num_videos_per_prompt != 1:
801801
raise ValueError(

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /