File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -1008,13 +1008,10 @@ whisperkit-cli transcribe --audio-path /path/to/audio.mp3
10081008whisperkit-cli transcribe --model "large-v3" --model-prefix "distil" --audio-path /path/to/audio.mp3 --verbose` ,
10091009] ;
10101010
1011- export const threedtopia_xl = ( ) : string [ ] => [
1012- `# Install from https://github.com/3DTopia/3DTopia-XL
1013- from threedtopia_xl.models import threedtopia_xl
1011+ export const threedtopia_xl = ( model : ModelData ) : string [ ] => [
1012+ `from threedtopia_xl.models import threedtopia_xl
1013+
10141014model = 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` ,
1015+ model . generate ( cond = "path/to/image.png" )
10191016] ;
10201017//#endregion
Original file line number Diff line number Diff line change @@ -705,7 +705,7 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
705705 repoName : "3DTopia-XL" ,
706706 repoUrl : "https://github.com/3DTopia/3DTopia-XL" ,
707707 filter : false ,
708- countDownloads : `path_extension:" pt"` ,
708+ countDownloads : `path:"model_vae_fp16. pt"` ,
709709 snippets : snippets . threedtopia_xl ,
710710 } ,
711711} satisfies Record < string , LibraryUiElement > ;
You can’t perform that action at this time.
0 commit comments