From 3ede842e7bc12ab63218da828904bf95cb749f35 Mon Sep 17 00:00:00 2001 From: Torben Peters Date: Wed, 4 Jun 2025 10:14:41 +0200 Subject: [PATCH] Update README.md fix 'NoneType' object is not callable when call pineline .to("cuda:0") doesnt return anything, so it cant be called here. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bddf929..dfcd08c 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,8 @@ from direct3d_s2.pipeline import Direct3DS2Pipeline pipeline = Direct3DS2Pipeline.from_pretrained( 'wushuang98/Direct3D-S2', subfolder="direct3d-s2-v-1-1" -).to("cuda:0") +) +pipeline.to("cuda:0") mesh = pipeline( 'assets/test/13.png',