prettyflacko03 commited on
Commit
4414052
·
verified ·
1 Parent(s): 05a3e2f

Update app.py

Browse files

wrote the wrong show_error

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -419,11 +419,11 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
419
 
420
  # Launch the Gradio app
421
  if __name__ == "__main__":
422
- iface.launch(show_error=True)
423
  pipeline = TrellisImageTo3DPipeline.from_pretrained("JeffreyXiang/TRELLIS-image-large")
424
  pipeline.cuda()
425
  try:
426
  pipeline.preprocess_image(Image.fromarray(np.zeros((512, 512, 3), dtype=np.uint8))) # Preload rembg
427
  except:
428
  pass
429
- demo.launch(mcp_server=True)
 
 
419
 
420
  # Launch the Gradio app
421
  if __name__ == "__main__":
 
422
  pipeline = TrellisImageTo3DPipeline.from_pretrained("JeffreyXiang/TRELLIS-image-large")
423
  pipeline.cuda()
424
  try:
425
  pipeline.preprocess_image(Image.fromarray(np.zeros((512, 512, 3), dtype=np.uint8))) # Preload rembg
426
  except:
427
  pass
428
+ demo.launch(mcp_server=True)
429
+ demo.launch(show_error=True)