mehdizz commited on
Commit
1500f03
·
verified ·
1 Parent(s): 76f79d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -325,10 +325,10 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
325
 
326
  # Launch the Gradio app
327
  if __name__ == "__main__":
328
- pipeline = TrellisImageTo3DPipeline.from_pretrained("JeffreyXiang/TRELLIS-image-large")
329
  pipeline.cuda()
330
  try:
331
- pipeline.preprocess_image(Image.fromarray(np.zeros((512, 512, 3), dtype=np.uint8))) # Preload rembg
332
  except:
333
  pass
334
- demo.launch(show_api=False, share=True)
 
325
 
326
  # Launch the Gradio app
327
  if __name__ == "__main__":
328
+ pipeline = TrellisImageTo3DPipeline.from_pretrained("cavargas10/TRELLIS")
329
  pipeline.cuda()
330
  try:
331
+ pipeline.preprocess_image(Image.fromarray(np.zeros((512, 512, 3), dtype=np.uint8))) # Precargar rembg
332
  except:
333
  pass
334
+ demo.launch(show_error=True)