Spaces:
Running
on
T4
Running
on
T4
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-
|
17 |
torch_dtype=torch_type
|
18 |
# , safety_checker=None
|
19 |
)
|
@@ -75,7 +75,7 @@ with gr.Blocks() as block:
|
|
75 |
"""
|
76 |
## LDM3d Demo
|
77 |
|
78 |
-
Model card: https://huggingface.co/Intel/ldm3d<br>
|
79 |
[Diffusers docs](https://huggingface.co/docs/diffusers/main/en/api/pipelines/stable_diffusion/ldm3d_diffusion)
|
80 |
|
81 |
"""
|
|
|
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 |
)
|
|
|
75 |
"""
|
76 |
## LDM3d Demo
|
77 |
|
78 |
+
Model card: https://huggingface.co/Intel/ldm3d-pano<br>
|
79 |
[Diffusers docs](https://huggingface.co/docs/diffusers/main/en/api/pipelines/stable_diffusion/ldm3d_diffusion)
|
80 |
|
81 |
"""
|