Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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("
|
| 329 |
pipeline.cuda()
|
| 330 |
try:
|
| 331 |
-
pipeline.preprocess_image(Image.fromarray(np.zeros((512, 512, 3), dtype=np.uint8)))
|
| 332 |
except:
|
| 333 |
pass
|
| 334 |
-
demo.launch(
|
|
|
|
| 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)
|