Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
| 13 |
print(f"Device is {device}")
|
| 14 |
torch_type = torch.float16 if device == "cuda" else torch.float32
|
| 15 |
pipe = StableDiffusionLDM3DPipeline.from_pretrained(
|
| 16 |
-
"Intel/ldm3d-pano",
|
| 17 |
torch_dtype=torch_type
|
| 18 |
# , safety_checker=None
|
| 19 |
)
|
|
|
|
| 13 |
print(f"Device is {device}")
|
| 14 |
torch_type = torch.float16 if device == "cuda" else torch.float32
|
| 15 |
pipe = StableDiffusionLDM3DPipeline.from_pretrained(
|
| 16 |
+
"Intel/ldm3d-pano",
|
| 17 |
torch_dtype=torch_type
|
| 18 |
# , safety_checker=None
|
| 19 |
)
|