Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ InferenceClient=InferenceClient()
|
|
| 19 |
|
| 20 |
apol=[]
|
| 21 |
|
| 22 |
-
pipe = accelerator.prepare(StableDiffusionLDM3DPipeline.from_pretrained("Intel/ldm3d-pano"
|
| 23 |
pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
|
| 24 |
pipe.unet.to(memory_format=torch.channels_last)
|
| 25 |
pipe.to("cpu")
|
|
|
|
| 19 |
|
| 20 |
apol=[]
|
| 21 |
|
| 22 |
+
pipe = accelerator.prepare(StableDiffusionLDM3DPipeline.from_pretrained("Intel/ldm3d-pano", torch_dtype=torch.bfloat16, variant=None, use_safetensors=False, safety_checker=None))
|
| 23 |
pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
|
| 24 |
pipe.unet.to(memory_format=torch.channels_last)
|
| 25 |
pipe.to("cpu")
|