Commit
·
4eb6bae
1
Parent(s):
6b48ae6
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: cc
|
3 |
---
|
|
|
1 |
+
from diffusers import StableDiffusionLDM3DPipeline
|
2 |
+
pipe_ldm3d = StableDiffusionLDM3DPipeline.from_pretrained("Intel/ldm3d")
|
3 |
+
prompt = "A picture of a castle in the mountains"
|
4 |
+
output = pipe_ldm3d(prompt)
|
5 |
+
obj_file = output.obj
|
6 |
+
obj_file[0].save("castle_ldm3d.obj")
|
7 |
---
|
8 |
license: cc
|
9 |
---
|