Skip to content

Commit 90c5ede

Browse files
committed
fix tensor type
1 parent f9c7460 commit 90c5ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/wan2_1/wan/utils/prompt_extend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def extend_with_img(self, prompt, system_prompt, image: Union[Image.Image, str]
252252
images=image_inputs,
253253
videos=video_inputs,
254254
padding=True,
255-
return_tensors="pt",
255+
return_tensors="np",
256256
)
257257

258258
for k, v in inputs.items():

0 commit comments

Comments
 (0)