Stable-X commited on
Commit
11ec745
·
verified ·
1 Parent(s): 0bc6644

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -380,6 +380,7 @@ if __name__ == "__main__":
380
  pipeline = TrellisVGGTTo3DPipeline.from_pretrained("Stable-X/trellis-vggt-v0-1")
381
  pipeline.cuda()
382
  pipeline.VGGT_model.cuda()
 
383
  try:
384
  pipeline.preprocess_image(Image.fromarray(np.zeros((512, 512, 3), dtype=np.uint8))) # Preload rembg
385
  except:
 
380
  pipeline = TrellisVGGTTo3DPipeline.from_pretrained("Stable-X/trellis-vggt-v0-1")
381
  pipeline.cuda()
382
  pipeline.VGGT_model.cuda()
383
+ pipeline.birefnet_model.cuda()
384
  try:
385
  pipeline.preprocess_image(Image.fromarray(np.zeros((512, 512, 3), dtype=np.uint8))) # Preload rembg
386
  except: