Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,8 @@ from diffusers.utils import export_to_gif
|
|
4 |
|
5 |
|
6 |
ckpt_id = "openai/shap-e-xs"
|
7 |
-
|
|
|
8 |
|
9 |
|
10 |
guidance_scale = 15.0
|
|
|
4 |
|
5 |
|
6 |
ckpt_id = "openai/shap-e-xs"
|
7 |
+
device = torch.device("cpu")
|
8 |
+
pipe = ShapEPipeline.from_pretrained(ckpt_id).to(device)
|
9 |
|
10 |
|
11 |
guidance_scale = 15.0
|