JeffreyXiang commited on
Commit
e9f217f
·
1 Parent(s): a6ef5c8
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -262,7 +262,7 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
262
  * Select an example image and click **"Generate"** to create a 3D asset.
263
  * If you're satisfied with the result, click **"Extract GLB"** to download and view the GLB file.
264
 
265
- ⚠️ **Disclaimer**: This demo does **not** support user-uploaded images. For more functionality, please explore [other TRELLIS spaces](https://huggingface.co/spaces?q=TRELLIS).
266
  """)
267
 
268
  with gr.Row():
@@ -406,7 +406,7 @@ with gr.Blocks(delete_cache=(600, 600)) as demo:
406
 
407
  # Launch the Gradio app
408
  if __name__ == "__main__":
409
- pipeline = TrellisImageTo3DPipeline.from_pretrained("JeffreyXiang/TRELLIS-image-large")
410
  pipeline.cuda()
411
  try:
412
  pipeline.preprocess_image(Image.fromarray(np.zeros((512, 512, 3), dtype=np.uint8))) # Preload rembg
 
262
  * Select an example image and click **"Generate"** to create a 3D asset.
263
  * If you're satisfied with the result, click **"Extract GLB"** to download and view the GLB file.
264
 
265
+ ⚠️ **Disclaimer**: This demo does **not** support user-uploaded images. For more functionality, please explore other TRELLIS spaces.
266
  """)
267
 
268
  with gr.Row():
 
406
 
407
  # Launch the Gradio app
408
  if __name__ == "__main__":
409
+ pipeline = TrellisImageTo3DPipeline.from_pretrained("microsoft/TRELLIS-image-large")
410
  pipeline.cuda()
411
  try:
412
  pipeline.preprocess_image(Image.fromarray(np.zeros((512, 512, 3), dtype=np.uint8))) # Preload rembg