diff --git a/diffsynth/pipelines/wan_video.py b/diffsynth/pipelines/wan_video.py index fdbcfc9..b344423 100644 --- a/diffsynth/pipelines/wan_video.py +++ b/diffsynth/pipelines/wan_video.py @@ -159,7 +159,7 @@ class WanVideoPipeline(BasePipeline): def encode_prompt(self, prompt, positive=True): - prompt_emb = self.prompter.encode_prompt(prompt, positive=positive) + prompt_emb = self.prompter.encode_prompt(prompt, positive=positive, device=self.device) return {"context": prompt_emb}