We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3fd39f commit 7dd5cb3Copy full SHA for 7dd5cb3
packages/tasks/src/model-libraries-snippets.ts
@@ -1010,7 +1010,10 @@ whisperkit-cli transcribe --model "large-v3" --model-prefix "distil" --audio-pat
1010
1011
export const threedtopia_xl = (): string[] => [
1012
`# Install from https://github.com/3DTopia/3DTopia-XL
1013
-
+from threedtopia_xl.models import threedtopia_xl
1014
+model = threedtopia_xl.from_pretrained("${model.id}")
1015
+img = 'PATH_TO_Image.png'
1016
+model.generate(cond=img)
1017
# refer to https://github.com/3DTopia/3DTopia-XL?tab=readme-ov-file#inference for inference
1018
# and https://github.com/3DTopia/3DTopia-XL/blob/main/app.py regarding usage`,
1019
];
0 commit comments